MetalamaAPI documentationPost­Sharp API migrationPost­Sharp.​ExtensibilityIProjectGet­Service
Open sandboxFocus

IProject.GetService Method

GetService<T>(Boolean)

In Metalama, use ServiceProvider.

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