| Common Application Framework |
|
ServiceManager.AddService Method (Type, Object, Boolean)
Adds the specified service to the service container, and optionally promotes the service to any parent service containers.
Parameters
-
serviceType
- The type of service to add.
-
service
- An instance of the service type to add. This object must implement or inherit from the type indicated by the serviceType parameter.
-
promoteToParent
- true to promote this request to any parent service containers; otherwise, false.
Implements
IServiceContainer.AddService
See Also
ServiceManager Class | Aveva.ApplicationFramework Namespace | ServiceManager.AddService Overload List