GetService<T>(bool)
Gets a build-time service exposed by PostSharp.
Declaration
T GetService<T>(bool throwing = true) where T : class, IService
Parameters
Type | Name | Description |
---|---|---|
bool | throwing |
|
Returns
Type | Description |
---|---|
T | The service |
Type Parameters
Name | Description |
---|---|
T | An interface derived from IService. |