Export (0) Print
Expand All

IServiceContainer.AddService Method

Adds the specified service to the service container.

Name Description
IServiceContainer.AddService (Type, Object) Adds the specified service to the service container.
IServiceContainer.AddService (Type, ServiceCreatorCallback) Adds the specified service to the service container.
IServiceContainer.AddService (Type, Object, Boolean) Adds the specified service to the service container, and optionally promotes the service to any parent service containers.
IServiceContainer.AddService (Type, ServiceCreatorCallback, Boolean) Adds the specified service to the service container, and optionally promotes the service to parent service containers.

Community Additions

ADD
Show:
© 2015 Microsoft