SpreadsheetControl.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.