MetalamaAPI documentationPost­Sharp API migrationPost­Sharp.​ExtensibilityIService­LocatorGet­Service
Open sandboxFocus

IServiceLocator.GetService Method

GetService<T>(Boolean)

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