IServiceContainer Methods

Provides methods to retrieve services and register them in a service container.
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) Performs a search for a service implementing the specified service interface with a specified key.
GetService<T>(String, ServiceSearchMode, out Boolean) For internal use.
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