NDepend.API Documentation
IQueryExecutionSuccessResult Interface Members
Properties 

NDepend.CodeQuery Namespace : IQueryExecutionSuccessResult Interface

The following tables list the members exposed by IQueryExecutionSuccessResult.

Public Properties
 NameDescription
 Property Gets the code base on which the code query has been executed.  
 Property Returns columns' names of the result records.  
 PropertyGets the NDepend.CodeModel.ICompareContext object on which the code query has been executed, or null if the query hasen't been executed agains a compare context but only agains a code base.  
 Property Returns a brief description of the result, such as "12 methods matched" or "Single scalar result : 2 match".  
 Property Gets a value indicating whether the code query is a rule and is violated.  
 Property Gets a value indicating whether the code query returned a single scalar result.  
 Property Gets the kind of code query expression.  
 PropertyGets a RecordCellType that indicates which kind of code element is matched.  
 PropertyGets a collection of code elements matched by the code query. If IsSingleScalarResult is true or if the query is matching issues or rules, gets an empty collection.  
 PropertyGets a collection of NDepend.Issue.IIssue matched by the code query. If IsSingleScalarResult is true or if the query is matching code elements or rules or quality gates, gets an empty collection.  
 PropertyGets 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.  
 PropertyGets 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.  
 Property Gets the original code query string.  
 PropertyIf this code query is a Quality Gate gets the status, else returns NDepend.Issue.QualityGateStatus.NDepend.Issue.QualityGateStatus.Pass.  
 Property Gets records result.  
 Property Gets the single scalar result returned by the query.  
 Property Gets code elements referenced in the query itself, like the code element named "XYZ" in "from t in Types where t.IsUsing("XYZ") select t".  
Top
Extension Methods
 NameDescription
Public Extension MethodGets a NDepend.Issue.IQualityGate object from queryExecutionSuccessResult.
Top
See Also

Reference

IQueryExecutionSuccessResult Interface
NDepend.CodeQuery Namespace