PostSharp 6.8 / / Post­Sharp Documentation / 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