Show / Hide Table of Contents

Class AggregatedValue

Aggregated value. May be used for optimized calculation of Min, Max, Sum, Count and Average.

Inheritance
System.Object
AggregatedValue
Namespace: Eco.Shared.Tools
Assembly: Eco.Shared.dll
Syntax
public sealed class AggregatedValue : ValueType

Constructors

AggregatedValue()

Declaration
public AggregatedValue()

Fields

Invalid

Declaration
public static readonly AggregatedValue Invalid
Field Value
Type Description
AggregatedValue

Max

Declaration
public double Max
Field Value
Type Description
System.Double

Min

Declaration
public double Min
Field Value
Type Description
System.Double

Properties

Average

Declaration
public double Average { get; }
Property Value
Type Description
System.Double

Count

Declaration
public int Count { get; set; }
Property Value
Type Description
System.Int32

Sum

Declaration
public double Sum { get; }
Property Value
Type Description
System.Double

Methods

Add(Double)

Declaration
public void Add(double value)
Parameters
Type Name Description
System.Double value

Extension Methods

CommandLine.FeedFromCommandLine(Object)
CommandLine.ToCommandLineArgs(Object, Func<Object, Boolean>)
ListUtil.DepthFirstTraversal<T>(T, Func<T, IEnumerable<T>>)
EnumerableExtensions.SingleItemAsEnumerable<T>(T)
EventUtils.RaiseEvent<TEventArgs>(Object, String, TEventArgs)
PredicateUtils.MatchesAll<TEnumerable, T>(T, TEnumerable)
PredicateUtils.MatchesAll<T>(T, Func<T, Boolean>[])
PredicateUtils.MatchesAny<TEnumerable, T>(T, TEnumerable)
ReflectionUtils.PropertyValue<T>(Object, PropertyInfo)
ReflectionUtils.TryGetPropertyValueByName<T>(Object, String, out T)
ReflectionUtils.GetPropertyValueByName<T>(Object, String)
ReflectionUtils.SetPropertyByName(Object, String, Object)
ReflectionUtils.GetStructPropertyByName<T>(Object, String)
ReflectionUtils.GetStringPropertyByName(Object, String)
ReflectionUtils.ZipByProperty<T>(Object, Object, Object, Func<T, T, T>)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾