Share via


IContainer.AddService Generic Method

Overload List

Name Description
IContainer.AddService (String, Generic ActivationContext) Adds a new service to the container.
IContainer.AddService (String, V) Adds a new service to the container by instantiating the type T. The default lifetime will be singleton.

See Also

Reference

IContainer Interface
IContainer Members
Microsoft.EnterpriseManagement Namespace