PostSharp5.0//API Reference/Post­Sharp.​Patterns.​Utilities Namespace/Service­Locator Class/Service­Locator Methods

ServiceLocator Methods

The ServiceLocator type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetService<T>
Gets a service implementation.
Public methodStatic memberRegisterService<T>
Registers a service.
See Also