NDepend.API Documentation
SingleScalarValue Property
NDepend.CodeQuery Namespace > IQueryExecutionSuccessResult Interface : SingleScalarValue Property
Gets the single scalar result returned by the query.
Syntax
Nullable<double> SingleScalarValue {get;}
Remarks
Only CQLinq queries can return a scalar result through aggregation operators like Count() or Sum().
If IsSingleScalarResult is false, this property returns null.
If IsSingleScalarResult is true, this property might returns null if the CQLinq aggregation operation returned null.
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
IsSingleScalarResult Property