Class ServiceCollectionCoreExtensions
Contains extension methods for IServiceCollection.
Inheritance
System.Object
ServiceCollectionCoreExtensions
Namespace:MyTested.AspNetCore.Mvc
Assembly:MyTested.AspNetCore.Mvc.Core.dll
Syntax
public static class ServiceCollectionCoreExtensions
Methods
| Improve this Doc View SourceAddMvcCoreTesting(IServiceCollection)
Adds core MVC testing services.
Declaration
public static IServiceCollection AddMvcCoreTesting(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. |