次の方法で共有


Container.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
Container.AddService (String, V) Adds a new service to the container by instantiating the type T. The default lifetime will be singleton.
Container.AddService (String, ActivationContext) Adds a new service to the container.

See Also

Reference

Container Class
Container Members
Microsoft.EnterpriseManagement Namespace