Interface IServiceProviderIsService
- Namespace
- Microsoft.Extensions.DependencyInjection
- Assembly
- nanoFramework.DependencyInjection.dll
Optional service used to determine if the specified type is available from the IServiceProvider.
public interface IServiceProviderIsService
- Extension Methods
Methods
IsService(Type)
Determines if the specified service type is available from the IServiceProvider.
bool IsService(Type serviceType)
Parameters
serviceType
TypeAn object that specifies the type of service object to test.
Returns
- bool
true if the specified service is a available, false if it is not.