Skip to main content

IServiceContainer Members

Provides methods to retrieve services and register them in a service container.

Methods

Name Description
Clear() Clears services stored in the current service container.
GetService(Type, String, ServiceSearchMode, out Boolean)
GetService<T>(ServiceSearchMode) Performs a search for a service implementing the specified service interface.
GetService<T>(String, ServiceSearchMode, out Boolean) For internal use.
GetService<T>(String, ServiceSearchMode) Performs a search for a service implementing the specified service interface with a specified key.
GetServices(Type, Boolean)
RegisterService(Object, Boolean) Registers the specified service.
RegisterService(String, Object, Boolean) Registers the specified service.
UnregisterService(Object) Unregisters the specified service.
See Also