Share via


Window<TKey,TSource>.Average Method

Definition

Overloads

Average(Expression<Func<TSource,UInt64>>)

Computes a time-sensitive average aggregate over ulongs using "snapshot windows" (SI terminology). Note that the accumulator internally is a ulong datatype.

Average(Expression<Func<TSource,UInt32>>)

Computes a time-sensitive average aggregate over uints using "snapshot windows" (SI terminology). Note that the accumulator internally is a ulong datatype.

Average(Expression<Func<TSource,UInt16>>)

Computes a time-sensitive average aggregate over ushorts using "snapshot windows" (SI terminology). Note that the accumulator internally is a ulong datatype.

Average(Expression<Func<TSource,Single>>)

Computes a time-sensitive average aggregate over floats using "snapshot windows" (SI terminology). Note that the accumulator internally is a float datatype.

Average(Expression<Func<TSource,SByte>>)

Computes a time-sensitive average aggregate over sbytes using "snapshot windows" (SI terminology). Note that the accumulator internally is a long datatype.

Average(Expression<Func<TSource,Complex>>)

Computes a time-sensitive average aggregate over Complexs using "snapshot windows" (SI terminology). Note that the accumulator internally is a Complex datatype.

Average(Expression<Func<TSource,BigInteger>>)

Computes a time-sensitive average aggregate over BigIntegers using "snapshot windows" (SI terminology). Note that the accumulator internally is a BigInteger datatype.

Average(Expression<Func<TSource,Nullable<UInt32>>>)

Computes a time-sensitive average aggregate over nullable uints using "snapshot windows" (SI terminology). Note that the accumulator internally is a ulong datatype and that nulls have no affect on the average.

Average(Expression<Func<TSource,Nullable<UInt16>>>)

Computes a time-sensitive average aggregate over nullable ushorts using "snapshot windows" (SI terminology). Note that the accumulator internally is a ulong datatype and that nulls have no affect on the average.

Average(Expression<Func<TSource,Nullable<Single>>>)

Computes a time-sensitive average aggregate over nullable floats using "snapshot windows" (SI terminology). Note that the accumulator internally is a float datatype and that nulls have no affect on the average.

Average(Expression<Func<TSource,Nullable<SByte>>>)

Computes a time-sensitive average aggregate over nullable sbytes using "snapshot windows" (SI terminology). Note that the accumulator internally is a long datatype and that nulls have no affect on the average.

Average(Expression<Func<TSource,Nullable<Complex>>>)

Computes a time-sensitive average aggregate over nullable Complexs using "snapshot windows" (SI terminology). Note that the accumulator internally is a Complex datatype and that nulls have no affect on the average.

Average(Expression<Func<TSource,Nullable<UInt64>>>)

Computes a time-sensitive average aggregate over nullable ulongs using "snapshot windows" (SI terminology). Note that the accumulator internally is a ulong datatype and that nulls have no affect on the average.

Average(Expression<Func<TSource,Nullable<Int64>>>)

Computes a time-sensitive average aggregate over nullable longs using "snapshot windows" (SI terminology). Note that the accumulator internally is a long datatype and that nulls have no affect on the average.

Average(Expression<Func<TSource,Nullable<BigInteger>>>)

Computes a time-sensitive average aggregate over nullable BigIntegers using "snapshot windows" (SI terminology). Note that the accumulator internally is a BigInteger datatype and that nulls have no affect on the average.

Average(Expression<Func<TSource,Decimal>>)

Computes a time-sensitive average aggregate over decimals using "snapshot windows" (SI terminology). Note that the accumulator internally is a decimal datatype.

Average(Expression<Func<TSource,Double>>)

Computes a time-sensitive average aggregate over doubles using "snapshot windows" (SI terminology). Note that the accumulator internally is a double datatype.

Average(Expression<Func<TSource,Int16>>)

Computes a time-sensitive average aggregate over shorts using "snapshot windows" (SI terminology). Note that the accumulator internally is a long datatype.

Average(Expression<Func<TSource,Int32>>)

Computes a time-sensitive average aggregate over ints using "snapshot windows" (SI terminology). Note that the accumulator internally is a long datatype.

Average(Expression<Func<TSource,Int64>>)

Computes a time-sensitive average aggregate over longs using "snapshot windows" (SI terminology). Note that the accumulator internally is a long datatype.

Average(Expression<Func<TSource,Byte>>)

Computes a time-sensitive average aggregate over bytes using "snapshot windows" (SI terminology). Note that the accumulator internally is a ulong datatype.

Average(Expression<Func<TSource,Nullable<Decimal>>>)

Computes a time-sensitive average aggregate over nullable decimals using "snapshot windows" (SI terminology). Note that the accumulator internally is a decimal datatype and that nulls have no affect on the average.

Average(Expression<Func<TSource,Nullable<Double>>>)

Computes a time-sensitive average aggregate over nullable doubles using "snapshot windows" (SI terminology). Note that the accumulator internally is a double datatype and that nulls have no affect on the average.

Average(Expression<Func<TSource,Nullable<Int16>>>)

Computes a time-sensitive average aggregate over nullable shorts using "snapshot windows" (SI terminology). Note that the accumulator internally is a long datatype and that nulls have no affect on the average.

Average(Expression<Func<TSource,Nullable<Int32>>>)

Computes a time-sensitive average aggregate over nullable ints using "snapshot windows" (SI terminology). Note that the accumulator internally is a long datatype and that nulls have no affect on the average.

Average(Expression<Func<TSource,Nullable<Byte>>>)

Computes a time-sensitive average aggregate over nullable bytes using "snapshot windows" (SI terminology). Note that the accumulator internally is a ulong datatype and that nulls have no affect on the average.

Average(Expression<Func<TSource,UInt64>>)

Computes a time-sensitive average aggregate over ulongs using "snapshot windows" (SI terminology). Note that the accumulator internally is a ulong datatype.

public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<ulong>,double> Average (System.Linq.Expressions.Expression<Func<TSource,ulong>> selector);
member this.Average : System.Linq.Expressions.Expression<Func<'Source, uint64>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<uint64>, double>
Public Function Average (selector As Expression(Of Func(Of TSource, ULong))) As IAggregate(Of TSource, AverageState(Of ULong), Double)

Parameters

selector
Expression<Func<TSource,UInt64>>

Returns

Applies to

Average(Expression<Func<TSource,UInt32>>)

Computes a time-sensitive average aggregate over uints using "snapshot windows" (SI terminology). Note that the accumulator internally is a ulong datatype.

public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<ulong>,double> Average (System.Linq.Expressions.Expression<Func<TSource,uint>> selector);
member this.Average : System.Linq.Expressions.Expression<Func<'Source, uint32>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<uint64>, double>
Public Function Average (selector As Expression(Of Func(Of TSource, UInteger))) As IAggregate(Of TSource, AverageState(Of ULong), Double)

Parameters

selector
Expression<Func<TSource,UInt32>>

Returns

Applies to

Average(Expression<Func<TSource,UInt16>>)

Computes a time-sensitive average aggregate over ushorts using "snapshot windows" (SI terminology). Note that the accumulator internally is a ulong datatype.

public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<ulong>,double> Average (System.Linq.Expressions.Expression<Func<TSource,ushort>> selector);
member this.Average : System.Linq.Expressions.Expression<Func<'Source, uint16>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<uint64>, double>
Public Function Average (selector As Expression(Of Func(Of TSource, UShort))) As IAggregate(Of TSource, AverageState(Of ULong), Double)

Parameters

selector
Expression<Func<TSource,UInt16>>

Returns

Applies to

Average(Expression<Func<TSource,Single>>)

Computes a time-sensitive average aggregate over floats using "snapshot windows" (SI terminology). Note that the accumulator internally is a float datatype.

public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<float>,float> Average (System.Linq.Expressions.Expression<Func<TSource,float>> selector);
member this.Average : System.Linq.Expressions.Expression<Func<'Source, single>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<single>, single>
Public Function Average (selector As Expression(Of Func(Of TSource, Single))) As IAggregate(Of TSource, AverageState(Of Single), Single)

Parameters

selector
Expression<Func<TSource,Single>>

Returns

Applies to

Average(Expression<Func<TSource,SByte>>)

Computes a time-sensitive average aggregate over sbytes using "snapshot windows" (SI terminology). Note that the accumulator internally is a long datatype.

public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<long>,double> Average (System.Linq.Expressions.Expression<Func<TSource,sbyte>> selector);
member this.Average : System.Linq.Expressions.Expression<Func<'Source, sbyte>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<int64>, double>
Public Function Average (selector As Expression(Of Func(Of TSource, SByte))) As IAggregate(Of TSource, AverageState(Of Long), Double)

Parameters

selector
Expression<Func<TSource,SByte>>

Returns

Applies to

Average(Expression<Func<TSource,Complex>>)

Computes a time-sensitive average aggregate over Complexs using "snapshot windows" (SI terminology). Note that the accumulator internally is a Complex datatype.

public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<System.Numerics.Complex>,System.Numerics.Complex> Average (System.Linq.Expressions.Expression<Func<TSource,System.Numerics.Complex>> selector);
member this.Average : System.Linq.Expressions.Expression<Func<'Source, System.Numerics.Complex>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<System.Numerics.Complex>, System.Numerics.Complex>
Public Function Average (selector As Expression(Of Func(Of TSource, Complex))) As IAggregate(Of TSource, AverageState(Of Complex), Complex)

Parameters

selector
Expression<Func<TSource,Complex>>

Returns

Applies to

Average(Expression<Func<TSource,BigInteger>>)

Computes a time-sensitive average aggregate over BigIntegers using "snapshot windows" (SI terminology). Note that the accumulator internally is a BigInteger datatype.

public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<System.Numerics.BigInteger>,double> Average (System.Linq.Expressions.Expression<Func<TSource,System.Numerics.BigInteger>> selector);
member this.Average : System.Linq.Expressions.Expression<Func<'Source, System.Numerics.BigInteger>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<System.Numerics.BigInteger>, double>
Public Function Average (selector As Expression(Of Func(Of TSource, BigInteger))) As IAggregate(Of TSource, AverageState(Of BigInteger), Double)

Parameters

selector
Expression<Func<TSource,BigInteger>>

Returns

Applies to

Average(Expression<Func<TSource,Nullable<UInt32>>>)

Computes a time-sensitive average aggregate over nullable uints using "snapshot windows" (SI terminology). Note that the accumulator internally is a ulong datatype and that nulls have no affect on the average.

public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<ulong>,Nullable<double>> Average (System.Linq.Expressions.Expression<Func<TSource,Nullable<uint>>> selector);
member this.Average : System.Linq.Expressions.Expression<Func<'Source, Nullable<uint32>>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<uint64>, Nullable<double>>
Public Function Average (selector As Expression(Of Func(Of TSource, Nullable(Of UInteger)))) As IAggregate(Of TSource, AverageState(Of ULong), Nullable(Of Double))

Parameters

selector
Expression<Func<TSource,Nullable<UInt32>>>

Returns

Applies to

Average(Expression<Func<TSource,Nullable<UInt16>>>)

Computes a time-sensitive average aggregate over nullable ushorts using "snapshot windows" (SI terminology). Note that the accumulator internally is a ulong datatype and that nulls have no affect on the average.

public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<ulong>,Nullable<double>> Average (System.Linq.Expressions.Expression<Func<TSource,Nullable<ushort>>> selector);
member this.Average : System.Linq.Expressions.Expression<Func<'Source, Nullable<uint16>>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<uint64>, Nullable<double>>
Public Function Average (selector As Expression(Of Func(Of TSource, Nullable(Of UShort)))) As IAggregate(Of TSource, AverageState(Of ULong), Nullable(Of Double))

Parameters

selector
Expression<Func<TSource,Nullable<UInt16>>>

Returns

Applies to

Average(Expression<Func<TSource,Nullable<Single>>>)

Computes a time-sensitive average aggregate over nullable floats using "snapshot windows" (SI terminology). Note that the accumulator internally is a float datatype and that nulls have no affect on the average.

public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<float>,Nullable<float>> Average (System.Linq.Expressions.Expression<Func<TSource,Nullable<float>>> selector);
member this.Average : System.Linq.Expressions.Expression<Func<'Source, Nullable<single>>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<single>, Nullable<single>>
Public Function Average (selector As Expression(Of Func(Of TSource, Nullable(Of Single)))) As IAggregate(Of TSource, AverageState(Of Single), Nullable(Of Single))

Parameters

selector
Expression<Func<TSource,Nullable<Single>>>

Returns

Applies to

Average(Expression<Func<TSource,Nullable<SByte>>>)

Computes a time-sensitive average aggregate over nullable sbytes using "snapshot windows" (SI terminology). Note that the accumulator internally is a long datatype and that nulls have no affect on the average.

public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<long>,Nullable<double>> Average (System.Linq.Expressions.Expression<Func<TSource,Nullable<sbyte>>> selector);
member this.Average : System.Linq.Expressions.Expression<Func<'Source, Nullable<sbyte>>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<int64>, Nullable<double>>
Public Function Average (selector As Expression(Of Func(Of TSource, Nullable(Of SByte)))) As IAggregate(Of TSource, AverageState(Of Long), Nullable(Of Double))

Parameters

selector
Expression<Func<TSource,Nullable<SByte>>>

Returns

Applies to

Average(Expression<Func<TSource,Nullable<Complex>>>)

Computes a time-sensitive average aggregate over nullable Complexs using "snapshot windows" (SI terminology). Note that the accumulator internally is a Complex datatype and that nulls have no affect on the average.

public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<System.Numerics.Complex>,Nullable<System.Numerics.Complex>> Average (System.Linq.Expressions.Expression<Func<TSource,Nullable<System.Numerics.Complex>>> selector);
member this.Average : System.Linq.Expressions.Expression<Func<'Source, Nullable<System.Numerics.Complex>>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<System.Numerics.Complex>, Nullable<System.Numerics.Complex>>
Public Function Average (selector As Expression(Of Func(Of TSource, Nullable(Of Complex)))) As IAggregate(Of TSource, AverageState(Of Complex), Nullable(Of Complex))

Parameters

selector
Expression<Func<TSource,Nullable<Complex>>>

Returns

Applies to

Average(Expression<Func<TSource,Nullable<UInt64>>>)

Computes a time-sensitive average aggregate over nullable ulongs using "snapshot windows" (SI terminology). Note that the accumulator internally is a ulong datatype and that nulls have no affect on the average.

public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<ulong>,Nullable<double>> Average (System.Linq.Expressions.Expression<Func<TSource,Nullable<ulong>>> selector);
member this.Average : System.Linq.Expressions.Expression<Func<'Source, Nullable<uint64>>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<uint64>, Nullable<double>>
Public Function Average (selector As Expression(Of Func(Of TSource, Nullable(Of ULong)))) As IAggregate(Of TSource, AverageState(Of ULong), Nullable(Of Double))

Parameters

selector
Expression<Func<TSource,Nullable<UInt64>>>

Returns

Applies to

Average(Expression<Func<TSource,Nullable<Int64>>>)

Computes a time-sensitive average aggregate over nullable longs using "snapshot windows" (SI terminology). Note that the accumulator internally is a long datatype and that nulls have no affect on the average.

public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<long>,Nullable<double>> Average (System.Linq.Expressions.Expression<Func<TSource,Nullable<long>>> selector);
member this.Average : System.Linq.Expressions.Expression<Func<'Source, Nullable<int64>>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<int64>, Nullable<double>>
Public Function Average (selector As Expression(Of Func(Of TSource, Nullable(Of Long)))) As IAggregate(Of TSource, AverageState(Of Long), Nullable(Of Double))

Parameters

selector
Expression<Func<TSource,Nullable<Int64>>>

Returns

Applies to

Average(Expression<Func<TSource,Nullable<BigInteger>>>)

Computes a time-sensitive average aggregate over nullable BigIntegers using "snapshot windows" (SI terminology). Note that the accumulator internally is a BigInteger datatype and that nulls have no affect on the average.

public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<System.Numerics.BigInteger>,Nullable<double>> Average (System.Linq.Expressions.Expression<Func<TSource,Nullable<System.Numerics.BigInteger>>> selector);
member this.Average : System.Linq.Expressions.Expression<Func<'Source, Nullable<System.Numerics.BigInteger>>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<System.Numerics.BigInteger>, Nullable<double>>
Public Function Average (selector As Expression(Of Func(Of TSource, Nullable(Of BigInteger)))) As IAggregate(Of TSource, AverageState(Of BigInteger), Nullable(Of Double))

Parameters

selector
Expression<Func<TSource,Nullable<BigInteger>>>

Returns

Applies to

Average(Expression<Func<TSource,Decimal>>)

Computes a time-sensitive average aggregate over decimals using "snapshot windows" (SI terminology). Note that the accumulator internally is a decimal datatype.

public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<decimal>,decimal> Average (System.Linq.Expressions.Expression<Func<TSource,decimal>> selector);
member this.Average : System.Linq.Expressions.Expression<Func<'Source, decimal>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<decimal>, decimal>
Public Function Average (selector As Expression(Of Func(Of TSource, Decimal))) As IAggregate(Of TSource, AverageState(Of Decimal), Decimal)

Parameters

selector
Expression<Func<TSource,Decimal>>

Returns

Applies to

Average(Expression<Func<TSource,Double>>)

Computes a time-sensitive average aggregate over doubles using "snapshot windows" (SI terminology). Note that the accumulator internally is a double datatype.

public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<double>,double> Average (System.Linq.Expressions.Expression<Func<TSource,double>> selector);
member this.Average : System.Linq.Expressions.Expression<Func<'Source, double>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<double>, double>
Public Function Average (selector As Expression(Of Func(Of TSource, Double))) As IAggregate(Of TSource, AverageState(Of Double), Double)

Parameters

selector
Expression<Func<TSource,Double>>

Returns

Applies to

Average(Expression<Func<TSource,Int16>>)

Computes a time-sensitive average aggregate over shorts using "snapshot windows" (SI terminology). Note that the accumulator internally is a long datatype.

public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<long>,double> Average (System.Linq.Expressions.Expression<Func<TSource,short>> selector);
member this.Average : System.Linq.Expressions.Expression<Func<'Source, int16>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<int64>, double>
Public Function Average (selector As Expression(Of Func(Of TSource, Short))) As IAggregate(Of TSource, AverageState(Of Long), Double)

Parameters

selector
Expression<Func<TSource,Int16>>

Returns

Applies to

Average(Expression<Func<TSource,Int32>>)

Computes a time-sensitive average aggregate over ints using "snapshot windows" (SI terminology). Note that the accumulator internally is a long datatype.

public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<long>,double> Average (System.Linq.Expressions.Expression<Func<TSource,int>> selector);
member this.Average : System.Linq.Expressions.Expression<Func<'Source, int>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<int64>, double>
Public Function Average (selector As Expression(Of Func(Of TSource, Integer))) As IAggregate(Of TSource, AverageState(Of Long), Double)

Parameters

selector
Expression<Func<TSource,Int32>>

Returns

Applies to

Average(Expression<Func<TSource,Int64>>)

Computes a time-sensitive average aggregate over longs using "snapshot windows" (SI terminology). Note that the accumulator internally is a long datatype.

public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<long>,double> Average (System.Linq.Expressions.Expression<Func<TSource,long>> selector);
member this.Average : System.Linq.Expressions.Expression<Func<'Source, int64>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<int64>, double>
Public Function Average (selector As Expression(Of Func(Of TSource, Long))) As IAggregate(Of TSource, AverageState(Of Long), Double)

Parameters

selector
Expression<Func<TSource,Int64>>

Returns

Applies to

Average(Expression<Func<TSource,Byte>>)

Computes a time-sensitive average aggregate over bytes using "snapshot windows" (SI terminology). Note that the accumulator internally is a ulong datatype.

public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<ulong>,double> Average (System.Linq.Expressions.Expression<Func<TSource,byte>> selector);
member this.Average : System.Linq.Expressions.Expression<Func<'Source, byte>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<uint64>, double>
Public Function Average (selector As Expression(Of Func(Of TSource, Byte))) As IAggregate(Of TSource, AverageState(Of ULong), Double)

Parameters

selector
Expression<Func<TSource,Byte>>

Returns

Applies to

Average(Expression<Func<TSource,Nullable<Decimal>>>)

Computes a time-sensitive average aggregate over nullable decimals using "snapshot windows" (SI terminology). Note that the accumulator internally is a decimal datatype and that nulls have no affect on the average.

public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<decimal>,Nullable<decimal>> Average (System.Linq.Expressions.Expression<Func<TSource,Nullable<decimal>>> selector);
member this.Average : System.Linq.Expressions.Expression<Func<'Source, Nullable<decimal>>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<decimal>, Nullable<decimal>>
Public Function Average (selector As Expression(Of Func(Of TSource, Nullable(Of Decimal)))) As IAggregate(Of TSource, AverageState(Of Decimal), Nullable(Of Decimal))

Parameters

selector
Expression<Func<TSource,Nullable<Decimal>>>

Returns

Applies to

Average(Expression<Func<TSource,Nullable<Double>>>)

Computes a time-sensitive average aggregate over nullable doubles using "snapshot windows" (SI terminology). Note that the accumulator internally is a double datatype and that nulls have no affect on the average.

public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<double>,Nullable<double>> Average (System.Linq.Expressions.Expression<Func<TSource,Nullable<double>>> selector);
member this.Average : System.Linq.Expressions.Expression<Func<'Source, Nullable<double>>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<double>, Nullable<double>>
Public Function Average (selector As Expression(Of Func(Of TSource, Nullable(Of Double)))) As IAggregate(Of TSource, AverageState(Of Double), Nullable(Of Double))

Parameters

selector
Expression<Func<TSource,Nullable<Double>>>

Returns

Applies to

Average(Expression<Func<TSource,Nullable<Int16>>>)

Computes a time-sensitive average aggregate over nullable shorts using "snapshot windows" (SI terminology). Note that the accumulator internally is a long datatype and that nulls have no affect on the average.

public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<long>,Nullable<double>> Average (System.Linq.Expressions.Expression<Func<TSource,Nullable<short>>> selector);
member this.Average : System.Linq.Expressions.Expression<Func<'Source, Nullable<int16>>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<int64>, Nullable<double>>
Public Function Average (selector As Expression(Of Func(Of TSource, Nullable(Of Short)))) As IAggregate(Of TSource, AverageState(Of Long), Nullable(Of Double))

Parameters

selector
Expression<Func<TSource,Nullable<Int16>>>

Returns

Applies to

Average(Expression<Func<TSource,Nullable<Int32>>>)

Computes a time-sensitive average aggregate over nullable ints using "snapshot windows" (SI terminology). Note that the accumulator internally is a long datatype and that nulls have no affect on the average.

public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<long>,Nullable<double>> Average (System.Linq.Expressions.Expression<Func<TSource,Nullable<int>>> selector);
member this.Average : System.Linq.Expressions.Expression<Func<'Source, Nullable<int>>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<int64>, Nullable<double>>
Public Function Average (selector As Expression(Of Func(Of TSource, Nullable(Of Integer)))) As IAggregate(Of TSource, AverageState(Of Long), Nullable(Of Double))

Parameters

selector
Expression<Func<TSource,Nullable<Int32>>>

Returns

Applies to

Average(Expression<Func<TSource,Nullable<Byte>>>)

Computes a time-sensitive average aggregate over nullable bytes using "snapshot windows" (SI terminology). Note that the accumulator internally is a ulong datatype and that nulls have no affect on the average.

public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,Microsoft.StreamProcessing.Aggregates.AverageState<ulong>,Nullable<double>> Average (System.Linq.Expressions.Expression<Func<TSource,Nullable<byte>>> selector);
member this.Average : System.Linq.Expressions.Expression<Func<'Source, Nullable<byte>>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, Microsoft.StreamProcessing.Aggregates.AverageState<uint64>, Nullable<double>>
Public Function Average (selector As Expression(Of Func(Of TSource, Nullable(Of Byte)))) As IAggregate(Of TSource, AverageState(Of ULong), Nullable(Of Double))

Parameters

selector
Expression<Func<TSource,Nullable<Byte>>>

Returns

Applies to