Interface IQueryCompiledSuccess
Represents the result of a query that has been compiled successfully.
public interface IQueryCompiledSuccess : IQueryCompiled
- Inherited Members
- Extension Methods
Properties (10)
CodeBaseOnWhichToExecute
Gets the code base on which the code query has been compiled against.
ICodeBase CodeBaseOnWhichToExecute { get; }
Property Value
Remarks
If the query has been compiled in a comparison context, the returned code base is ICompareContext.NewerCodeBase.
CompareContextOnWhichToExecute
Gets the ICompareContext object on which the code query has been compiled against. Gets null if the code query has been compiled against a code base.
ICompareContext CompareContextOnWhichToExecute { get; }
Property Value
Remarks
If the query has been compiled in a comparison context, the returned code base is ICompareContext.NewerCodeBase.
KindOfMatch
Gets the kind of code element matched, Method, Field, Property, Event, Type, Namespace, Assembly, CodeElement, CodeElementParent, CodeContainer, Member, or NullableDouble if the result will be a single scalar (IQueryExecutionSuccessResult.IsSingleScalarResult).
RecordCellType KindOfMatch { get; }
Property Value
RelyOn
Gets a value that indicates on which artifacts this query relies on.
QueryRelyOn RelyOn { get; }
Property Value
RelyOnCodeCoverageData
Gets a value indicating whether this code query relies on the code coverage data.
bool RelyOnCodeCoverageData { get; }
Property Value
Remarks
Code coverage data is deemed to be used if the query use any of this property getter: NbLinesOfCodeCovered, NbLinesOfCodeNotCovered or PercentageCoverage.
- See Also
RelyOnCompareContext
Gets a value indicating whether this code query relies on a ICompareContext object.
bool RelyOnCompareContext { get; }
Property Value
Remarks
The returned value is independant from the fact that CompareContextOnWhichToExecute is null or not.
A code query that relies on a compare context and that is executed without a compare context won't return a useful result.
In such situation, at query runtime an empty ICompareContext object is provided, that returns null or false for all properties.
- See Also
RelyOnIssuesSet
Gets a value indicating whether this code query relies on IIssuesSet.
bool RelyOnIssuesSet { get; }
Property Value
- See Also
RelyOnIssuesSetDiff
Gets a value indicating whether this code query relies on IIssuesSetDiff.
bool RelyOnIssuesSetDiff { get; }
Property Value
- See Also
RelyOnJustMyCode
Gets a value indicating whether this code query relies on the JustMyCode set.
bool RelyOnJustMyCode { get; }
Property Value
- See Also
RelyOnQualityGates
Gets a value indicating whether this code query relies on quality gates.
bool RelyOnQualityGates { get; }
Property Value
- See Also