net90_PropertyGridHelpers.ServiceProviders_CustomServiceProvider_AddService - dparvin/PropertyGridHelpers GitHub Wiki
Registers a service instance with the specified service type.
public void AddService(Type serviceType, object serviceInstance)
parameter | description |
---|---|
serviceType | The type that identifies the service. |
serviceInstance | The instance of the service to associate with the type. |
exception | condition |
---|---|
ArgumentNullException | Thrown if serviceType or serviceInstance is null . |
- class CustomServiceProvider
- namespace PropertyGridHelpers.ServiceProviders
- assembly PropertyGridHelpers