Partager via


IContainer.AddService Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Overload List

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

See Also

Reference

IContainer Interface
IContainer Members
Microsoft.EnterpriseManagement Namespace