Class ServiceCollectionExtensions
Contains extension methods for IServiceCollection.
Inheritance
System.Object
ServiceCollectionExtensions
Namespace:MyTested.AspNetCore.Mvc
Assembly:MyTested.AspNetCore.Mvc.dll
Syntax
public static class ServiceCollectionExtensions
Methods
| Improve this Doc View SourceAddMvcTesting(IServiceCollection)
Adds MVC testing services.
Declaration
public static IServiceCollection AddMvcTesting(this IServiceCollection serviceCollection)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.DependencyInjection.IServiceCollection | serviceCollection | Instance of IServiceCollection type. |
Returns
Type | Description |
---|---|
Microsoft.Extensions.DependencyInjection.IServiceCollection | The same IServiceCollection. |