Class ServiceCollectionUniverseExtensions
Contains extension methods for IServiceCollection.
Inheritance
System.Object
ServiceCollectionUniverseExtensions
Namespace:MyTested.AspNetCore.Mvc
Assembly:MyTested.AspNetCore.Mvc.Universe.dll
Syntax
public static class ServiceCollectionUniverseExtensions
Methods
| Improve this Doc View SourceAddMvcUniverseTesting(IServiceCollection)
Adds all testing services available in the testing framework.
Declaration
public static IServiceCollection AddMvcUniverseTesting(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. |