PrintingSystemBase.AddService(Type, ServiceCreatorCallback, Boolean) Method
Adds the specified service to the service container.
public void AddService( Type serviceType, ServiceCreatorCallback callback, bool promote )
Public Sub AddService( serviceType As Type, callback As ServiceCreatorCallback, promote As Boolean )
The type of service to add.
A callback object that can create the service. This allows a service to be declared as available, but delays creation of the object until the service is requested.
true if this service should be added to any parent service containers; otherwise, false.
This method is intended for internal use only. Normally, you don't need to use it.