ServiceLocator Class |
Namespace: PostSharp.Patterns.Utilities
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.10.10.0 (6.10.10.0)
public static class ServiceLocator
The ServiceLocator type exposes the following members.
Name | Description | |
---|---|---|
GetService<T> |
Gets a service implementation.
| |
RegisterService<T> |
Registers a service.
|
Name | Description | |
---|---|---|
ServiceRegistered |
Event raised when a new service is registered.
|