AddService Method

ServiceContainer.AddService Method

Adds the specified service to the service container.

Name Description
ServiceContainer.AddService (Type, Object) Adds the specified service to the service container.
ServiceContainer.AddService (Type, ServiceCreatorCallback) Adds the specified service to the service container.
ServiceContainer.AddService (Type, Object, Boolean) Adds the specified service to the service container.
ServiceContainer.AddService (Type, ServiceCreatorCallback, Boolean) Adds the specified service to the service container.

Community Additions

ADD
Show:
© 2016 Microsoft