PostSharp / / API Reference / Post­Sharp.​Extensibility / IService­Locator / Get­Service

Method GetService

GetService<T>(Boolean)

Declaration
T GetService<T>(bool throwing = true)
where T : class, IService
Parameters
Type Name Description
Boolean throwing
Returns
Type Description
T
Type Parameters
Name Description
T