DoubleAggregatorDoubleAggregatorDoubleAggregatorDoubleAggregator Struct

定義

``public value class DoubleAggregator``
``public struct DoubleAggregator``
``type DoubleAggregator = struct``
``Public Structure DoubleAggregator``

DoubleAggregatorDoubleAggregatorDoubleAggregatorDoubleAggregator

屬性

 AverageResult AverageResult AverageResult AverageResult 計算 `double` 值序列的平均值。Computes the average value over a sequence of `double` values. IsEmpty IsEmpty IsEmpty IsEmpty 判斷 `double` 值序列是否為空。Determines whether a sequence of `double` values is empty. MaximumResult MaximumResult MaximumResult MaximumResult 傳回 `double` 值序列中的最大值。Returns the maximum value of a sequence of `double` values. MinimumResult MinimumResult MinimumResult MinimumResult 傳回 `double` 值序列中的最小值。Returns the minimum value of a sequence of `double` values. SumResult SumResult SumResult SumResult 傳回 `double` 值序列的總和。Returns the sum of a sequence of `double` values.

方法

 Average(Double) Average(Double) Average(Double) Average(Double) 傳回 `double` 值序列的平均。Returns the average of a sequence of `double` values. Create() Create() Create() Create() 初始化 `double` 值的序列。Initializes a sequence of `double` values. Maximum(Double) Maximum(Double) Maximum(Double) Maximum(Double) 如果 `value` 參數大於現有結果，則將 `value` 參數指派給該現有結果。Assigns the `value` parameter to the existing result if the `value` parameter is greater than the existing result. Minimum(Double) Minimum(Double) Minimum(Double) Minimum(Double) 如果 `value` 參數小於現有結果，則將 `value` 參數指派給該現有結果。Assigns the `value` parameter to the existing result if the `value` parameter is less than the existing result. Sum(Double) Sum(Double) Sum(Double) Sum(Double) 將 `Double` 值與現有結果相加。Adds a `Double` value to the existing result.