Common Application Framework

ServiceManager.AddService Method (Type, Object)

Adds the specified service to the ServiceManager service container.

public abstract void AddService(
   Type serviceType,
   object service
);

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.

Implements

IServiceContainer.AddService

See Also

ServiceManager Class | Aveva.ApplicationFramework Namespace | ServiceManager.AddService Overload List