Common Application Framework

ServiceManager.AddService Method

Adds the specified service to the service container.

Overload List

Adds the specified service to the service container.

public abstract void AddService(Type,ServiceCreatorCallback);

Adds the specified service to the service container, and optionally promotes the service to parent service containers.

public abstract void AddService(Type,ServiceCreatorCallback,bool);

Adds the specified service to the ServiceManager service container.

public abstract void AddService(Type,object);

Adds the specified service to the service container, and optionally promotes the service to any parent service containers.

public abstract void AddService(Type,object,bool);

See Also

ServiceManager Class | Aveva.ApplicationFramework Namespace