Table of Contents

Class IServiceCollectionExtensions

Namespace
Steeltoe.Extensions.Configuration
Assembly
Steeltoe.Extensions.Configuration.Abstractions.dll
public static class IServiceCollectionExtensions
Inheritance
IServiceCollectionExtensions
Inherited Members

Methods

GetServicesInfo(IServiceCollection)

If an instance of IServicesInfo is found, it is returned. Otherwise a default instance is added to the collection and then returned.

[Obsolete("This method builds a temporary service provider and should not be used")]
public static IServicesInfo GetServicesInfo(this IServiceCollection serviceCollection)

Parameters

serviceCollection IServiceCollection

Collection of configured services

Returns

IServicesInfo

Relevant IServicesInfo