net90_PropertyGridHelpers.ServiceProviders_CustomServiceProvider_AddService - dparvin/PropertyGridHelpers GitHub Wiki

CustomServiceProvider.AddService method

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.

Exceptions

exception condition
ArgumentNullException Thrown if serviceType or serviceInstance is null.

See Also

⚠️ **GitHub.com Fallback** ⚠️