Skip to main content
A newer version of this page is available. .

SchedulerControl.AddService Method

Name Parameters Description
AddService(Type, ServiceCreatorCallback) serviceType, callback Adds the specified service to the service container.
AddService(Type, ServiceCreatorCallback, Boolean) serviceType, callback, promote Adds the specified service to the service container.
AddService(Type, Object) serviceType, serviceInstance Adds the specified service to the service container.
AddService(Type, Object, Boolean) serviceType, serviceInstance, promote Adds the specified service to the service container.