NDepend.API Documentation
MatchedRules Property
NDepend.CodeQuery Namespace > IQueryExecutionSuccessResult Interface : MatchedRules Property
Gets a collection of NDepend.Issue.IRule matched by the code query. If IsSingleScalarResult is true or if the query is matching code elements or issues or quality gates, gets an empty collection.
Syntax
IReadOnlyList<IRule> MatchedRules {get;}
Remarks
This method is a facility to avoid extracting matched rules from this.Records first column.
This extension method has a O(this.Records.Count) time complexity.
Requirements

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

See Also

Reference

IQueryExecutionSuccessResult Interface
IQueryExecutionSuccessResult Members
Records Property