A basic service locator used by PostSharp Patterns to find global services.
Namespace: PostSharp.Patterns.Utilities
Assembly: PostSharp.Patterns.Common.dll
Syntax
public static class ServiceLocatorMethods
| Name | Description |
|---|---|
| GetService<T>() | Gets a service implementation. |
| RegisterService<T>(T) | Registers a service. |
Events
| Name | Description |
|---|---|
| ServiceRegistered | Event raised when a new service is registered. |