IServiceContainer::AddService Method
.NET Framework (current version)
Adds the specified service to the service container.
Assembly: System (in System.dll)
| Name | Description | |
|---|---|---|
![]() | AddService(Type^, Object^) | Adds the specified service to the service container. |
![]() | AddService(Type^, Object^, Boolean) | Adds the specified service to the service container, and optionally promotes the service to any parent service containers. |
![]() | AddService(Type^, ServiceCreatorCallback^) | Adds the specified service to the service container. |
![]() | AddService(Type^, ServiceCreatorCallback^, Boolean) | Adds the specified service to the service container, and optionally promotes the service to parent service containers. |
Show:
