Compartilhar via


Container.AddService Generic Method

Overload List

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

See Also

Reference

Container Class
Container Members
Microsoft.EnterpriseManagement Namespace