DecimalAggregator Struct

Definition

Computes aggregates over a sequence of Decimal values.

This API supports the product infrastructure and is not intended to be used directly from your code.

public value class DecimalAggregator
public struct DecimalAggregator
type DecimalAggregator = struct
Public Structure DecimalAggregator
Inheritance
DecimalAggregator

Properties

AverageResult

Gets an average of the sequence of Decimal values.

IsEmpty

Gets a value indicating whether the DecimalAggregator contains a result.

MaximumResult

Gets the largest value among the sequence of Decimal values.

MinimumResult

Gets the smallest value among the sequence of Decimal values.

SumResult

Gets the sum of the sequence of Decimal values.

Methods

Average(Decimal)

Averages Decimal values.

Create()

Initializes the DecimalAggregator.

Maximum(Decimal)

Assigns the value parameter to the existing result if the value parameter is greater than the existing result.

Minimum(Decimal)

Assigns the value parameter to the existing result if the value parameter is less than the existing result.

Sum(Decimal)

Adds a Decimal value to the existing result.

Applies to