Class SumAndCount
Sum and count aggregation. Can be used for Average calculation.
Inheritance
System.Object
SumAndCount
Assembly: Eco.Shared.dll
public sealed class SumAndCount : ValueType
Fields
Declaration
Field Value
| Type |
Description |
| System.Int32 |
|
Declaration
Field Value
| Type |
Description |
| System.Double |
|
Properties
Declaration
public double Average { get; }
Property Value
| Type |
Description |
| System.Double |
|
Methods
Declaration
public void Add(double value)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
Declaration
public void Remove(double value)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
Extension Methods