ServiceProvider
Gets an IServiceProvider that resolves the services registered in RunTimeServiceLocator. Its
GetService(Type) method returns null when no service of the requested type is registered, and throws
InvalidCastException when the factory returns an object that is not assignable to the requested type.
Declaration
public static IServiceProvider ServiceProvider { get; }Property Value
| Type | Description |
|---|---|
| IServiceProvider |