Export (0) Print
Expand All

IServiceContainer Methods

The IServiceContainer type exposes the following members.

  Name Description
Public method AddService(Type, ServiceCreatorCallback) Adds the specified service to the service container.
Public method AddService(Type, Object) Adds the specified service to the service container.
Public method AddService(Type, ServiceCreatorCallback, Boolean) Adds the specified service to the service container, and optionally promotes the service to parent service containers.
Public method AddService(Type, Object, Boolean) Adds the specified service to the service container, and optionally promotes the service to any parent service containers.
Public method GetService Gets the service object of the specified type. (Inherited from IServiceProvider.)
Public method RemoveService(Type) Removes the specified service type from the service container.
Public method RemoveService(Type, Boolean) Removes the specified service type from the service container, and optionally promotes the service to parent service containers.
Top
Show:
© 2015 Microsoft