MetalamaAPI documentationIntrospection APIMetalama.​Framework.​WorkspacesIProject­SetGet­Declaration
Open sandboxFocus

IProjectSet.GetDeclaration Method

GetDeclaration(String, String, String, Boolean)

Gets a declaration in the current subset.

Declaration
IDeclaration GetDeclaration(string projectName, string targetFramework, string declarationId, bool metalamaOutput)
Parameters
Type Name Description
String projectName

Path of the project.

String targetFramework

Target framework, or an empty string.

String declarationId

Serialized identifier of the declaration obtained with ToSerializableId().

Boolean metalamaOutput
Returns
Type Description
IDeclaration