Class IServiceProviderExtensions
public static class IServiceProviderExtensions
- Inheritance
-
IServiceProviderExtensions
- Inherited Members
Methods
GetApplicationInstanceInfo(IServiceProvider)
If an instance of IApplicationInstanceInfo is found, it is returned. Otherwise a default instance is returned.
public static IApplicationInstanceInfo GetApplicationInstanceInfo(this IServiceProvider sp)
Parameters
sp
IServiceProviderProvider of services
Returns
- IApplicationInstanceInfo
An instance of IApplicationInstanceInfo