GetServiceDescriptors Method
Definition
- Namespace
- Cuemon.Extensions.DependencyInjection
- Assemblies
- Cuemon.Extensions.DependencyInjection.dll
GetServiceDescriptors(IServiceProvider)
Gets an enumeration of ALL ServiceDescriptor instances from the specified provider.
public static IEnumerable<ServiceDescriptor> GetServiceDescriptors(this IServiceProvider provider)
Parameters
providerIServiceProviderThe IServiceProvider to extend.
Returns
- IEnumerable<ServiceDescriptor>
An enumeration of ALL ServiceDescriptor instances from the specified
provider.
Exceptions
- NotSupportedException
This method does not support {providerType.FullName}; or a cyclic provider graph was detected.