Class IServiceCollectionExtensions
Inheritance
System.Object
IServiceCollectionExtensions
Namespace: Steeltoe.Extensions.Configuration
Assembly: Steeltoe.Extensions.Configuration.Abstractions.dll
Syntax
public static class IServiceCollectionExtensions : object
Methods
| Edit this page View SourceGetServicesInfo(IServiceCollection)
If an instance of IServicesInfo is found, it is returned. Otherwise a default instance is added to the collection and then returned.
Declaration
public static IServicesInfo GetServicesInfo(this IServiceCollection serviceCollection)
Parameters
Type | Name | Description |
---|---|---|
IServiceCollection | serviceCollection | Collection of configured services |
Returns
Type | Description |
---|---|
IServicesInfo | Relevant IServicesInfo |