NDepend.API Documentation
MatchProperty Method
NDepend.Reserved.CQLinq Namespace > ExtensionMethodsCQLinqDependency Class : MatchProperty Method
The original code element name.
Append the prefix "PROPERTY:" to propertyFullName to precise to a method such as NDepend.Reserved.CQLinq.ExtensionMethodsCQLinqDependency.IsUsedBy(NDepend.CodeModel.IUsed,System.String) or NDepend.Reserved.CQLinq.ExtensionMethodsCQLinqDependency.IsUsing(NDepend.CodeModel.IUser,System.String) that takes a code element name string as argument, that only propertys can be matched by name.
Syntax
[Extension()]
public static string MatchProperty( 
   string propertyFullName
)

Parameters

propertyFullName
The original code element name.

Return Value

propertyFullName prefixed with "PROPERTY:".
Exceptions
ExceptionDescription
Two different code element kind prefixes cannot be inserted.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsCQLinqDependency Class
ExtensionMethodsCQLinqDependency Members
NDepend.Reserved.CQLinq.ExtensionMethodsCQLinqDependency.IsUsedBy(NDepend.CodeModel.IUsed,System.String)
DepthOfIsUsedBy Method
IsIndirectlyUsedBy Method
NDepend.Reserved.CQLinq.ExtensionMethodsCQLinqDependency.IsUsing(NDepend.CodeModel.IUser,System.String)
DepthOfIsUsing Method
IsIndirectlyUsing Method
AllowNoMatch Method
MatchAssembly Method
MatchNamespace Method
MatchType Method
MatchMethod Method
MatchField Method
MatchEvent Method