Class AggregatedValue
Aggregated value. May be used for optimized calculation of Min, Max, Sum, Count and Average.
Inheritance
System.Object
AggregatedValue
Assembly: Eco.Shared.dll
public sealed class AggregatedValue : ValueType
Constructors
Declaration
Fields
Declaration
public static readonly AggregatedValue Invalid
Field Value
Declaration
Field Value
Type |
Description |
System.Double |
|
Declaration
Field Value
Type |
Description |
System.Double |
|
Properties
Declaration
public double Average { get; }
Property Value
Type |
Description |
System.Double |
|
Declaration
public int Count { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public double Sum { get; }
Property Value
Type |
Description |
System.Double |
|
Methods
Declaration
public void Add(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Extension Methods