NDepend.API Documentation
MatchedQualityGates Property
NDepend.CodeQuery Namespace > IQueryExecutionSuccessResult Interface : MatchedQualityGates Property
Gets a collection of NDepend.Issue.IQualityGate matched by the code query. If IsSingleScalarResult is true or if the query is matching code elements or issues or rules, gets an empty collection.
Syntax
IReadOnlyList<IQualityGate> MatchedQualityGates {get;}
Remarks
This method is a facility to avoid extracting matched quality gates 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