[]
Computes the maximum value of a view of int values.
public static AggregationView<int, int> LiveMax(this View<int> source)
Type | Name | Description |
---|---|---|
View<int> | source | A view containing the values to determine the maximum value of. |
Type | Description |
---|---|
AggregationView<int, int> | A view representing the maximum of the values. |
If the source is empty or contains only nulls, an InvalidOperationException is thrown.
It is possible to use standard LINQ query operator Max instead of LiveMax. Both are "live" in the sense that they are recomputed automatically when any change occurs in the source. The difference is that Max will every time loop through the entire source collection and aggregate it from scratch, whereas LiveMax will use a more performant algorithm, will maintain its value incrementally, processing only those source items that actually changed.
Computes the maximum value of a view of nullable int values.
public static AggregationView<int?, int?> LiveMax(this View<int?> source)
Type | Name | Description |
---|---|---|
View<int?> | source | A view containing the values to determine the maximum value of. |
Type | Description |
---|---|
AggregationView<int?, int?> | A view representing the maximum of the values. |
If the source is empty or contains only nulls, the maximum value is null.
It is possible to use standard LINQ query operator Max instead of LiveMax. Both are "live" in the sense that they are recomputed automatically when any change occurs in the source. The difference is that Max will every time loop through the entire source collection and aggregate it from scratch, whereas LiveMax will use a more performant algorithm, will maintain its value incrementally, processing only those source items that actually changed.
Computes the maximum value of a view of int values that are obtained by invoking a transform function on each element of the source view.
public static AggregationView<TSource, int> LiveMax<TSource>(this View<TSource> source, Expression<Func<TSource, int>> selector)
Type | Name | Description |
---|---|---|
View<TSource> | source | A view containing the values to determine the maximum value of. |
Expression<Func<TSource, int>> | selector | A transform function to apply to each element. |
Type | Description |
---|---|
AggregationView<TSource, int> | A view representing the maximum of the values. |
Name | Description |
---|---|
TSource | The type of the elements of source. |
If the source is empty, an InvalidOperationException is thrown.
It is possible to use standard LINQ query operator Max instead of LiveMax. Both are "live" in the sense that they are recomputed automatically when any change occurs in the source. The difference is that Max will every time loop through the entire source collection and aggregate it from scratch, whereas LiveMax will use a more performant algorithm, will maintain its value incrementally, processing only those source items that actually changed.
Computes the maximum value of a view of nullable int values that are obtained by invoking a transform function on each element of the source view.
public static AggregationView<TSource, int?> LiveMax<TSource>(this View<TSource> source, Expression<Func<TSource, int?>> selector)
Type | Name | Description |
---|---|---|
View<TSource> | source | A view containing the values to determine the maximum value of. |
Expression<Func<TSource, int?>> | selector | A transform function to apply to each element. |
Type | Description |
---|---|
AggregationView<TSource, int?> | A view representing the maximum of the values. |
Name | Description |
---|---|
TSource | The type of the elements of source. |
If the source is empty or contains only nulls, the maximum value is null.
It is possible to use standard LINQ query operator Max instead of LiveMax. Both are "live" in the sense that they are recomputed automatically when any change occurs in the source. The difference is that Max will every time loop through the entire source collection and aggregate it from scratch, whereas LiveMax will use a more performant algorithm, will maintain its value incrementally, processing only those source items that actually changed.
Computes the maximum value of a view of decimal values.
public static AggregationView<decimal, decimal> LiveMax(this View<decimal> source)
Type | Name | Description |
---|---|---|
View<decimal> | source | A view containing the values to determine the maximum value of. |
Type | Description |
---|---|
AggregationView<decimal, decimal> | A view representing the maximum of the values. |
If the source is empty or contains only nulls, an InvalidOperationException is thrown.
It is possible to use standard LINQ query operator Max instead of LiveMax. Both are "live" in the sense that they are recomputed automatically when any change occurs in the source. The difference is that Max will every time loop through the entire source collection and aggregate it from scratch, whereas LiveMax will use a more performant algorithm, will maintain its value incrementally, processing only those source items that actually changed.
Computes the maximum value of a view of nullable decimal values.
public static AggregationView<decimal?, decimal?> LiveMax(this View<decimal?> source)
Type | Name | Description |
---|---|---|
View<decimal?> | source | A view containing the values to determine the maximum value of. |
Type | Description |
---|---|
AggregationView<decimal?, decimal?> | A view representing the maximum of the values. |
If the source is empty or contains only nulls, the maximum value is null.
It is possible to use standard LINQ query operator Max instead of LiveMax. Both are "live" in the sense that they are recomputed automatically when any change occurs in the source. The difference is that Max will every time loop through the entire source collection and aggregate it from scratch, whereas LiveMax will use a more performant algorithm, will maintain its value incrementally, processing only those source items that actually changed.
Computes the maximum value of a view of decimal values that are obtained by invoking a transform function on each element of the source view.
public static AggregationView<TSource, decimal> LiveMax<TSource>(this View<TSource> source, Expression<Func<TSource, decimal>> selector)
Type | Name | Description |
---|---|---|
View<TSource> | source | A view containing the values to determine the maximum value of. |
Expression<Func<TSource, decimal>> | selector | A transform function to apply to each element. |
Type | Description |
---|---|
AggregationView<TSource, decimal> | A view representing the maximum of the values. |
Name | Description |
---|---|
TSource | The type of the elements of source. |
If the source is empty, an InvalidOperationException is thrown.
It is possible to use standard LINQ query operator Max instead of LiveMax. Both are "live" in the sense that they are recomputed automatically when any change occurs in the source. The difference is that Max will every time loop through the entire source collection and aggregate it from scratch, whereas LiveMax will use a more performant algorithm, will maintain its value incrementally, processing only those source items that actually changed.
Computes the maximum value of a view of nullable decimal values that are obtained by invoking a transform function on each element of the source view.
public static AggregationView<TSource, decimal?> LiveMax<TSource>(this View<TSource> source, Expression<Func<TSource, decimal?>> selector)
Type | Name | Description |
---|---|---|
View<TSource> | source | A view containing the values to determine the maximum value of. |
Expression<Func<TSource, decimal?>> | selector | A transform function to apply to each element. |
Type | Description |
---|---|
AggregationView<TSource, decimal?> | A view representing the maximum of the values. |
Name | Description |
---|---|
TSource | The type of the elements of source. |
If the source is empty or contains only nulls, the maximum value is null.
It is possible to use standard LINQ query operator Max instead of LiveMax. Both are "live" in the sense that they are recomputed automatically when any change occurs in the source. The difference is that Max will every time loop through the entire source collection and aggregate it from scratch, whereas LiveMax will use a more performant algorithm, will maintain its value incrementally, processing only those source items that actually changed.
Computes the maximum value of a view of long values.
public static AggregationView<long, long> LiveMax(this View<long> source)
Type | Name | Description |
---|---|---|
View<long> | source | A view containing the values to determine the maximum value of. |
Type | Description |
---|---|
AggregationView<long, long> | A view representing the maximum of the values. |
If the source is empty or contains only nulls, an InvalidOperationException is thrown.
It is possible to use standard LINQ query operator Max instead of LiveMax. Both are "live" in the sense that they are recomputed automatically when any change occurs in the source. The difference is that Max will every time loop through the entire source collection and aggregate it from scratch, whereas LiveMax will use a more performant algorithm, will maintain its value incrementally, processing only those source items that actually changed.
Computes the maximum value of a view of nullable long values.
public static AggregationView<long?, long?> LiveMax(this View<long?> source)
Type | Name | Description |
---|---|---|
View<long?> | source | A view containing the values to determine the maximum value of. |
Type | Description |
---|---|
AggregationView<long?, long?> | A view representing the maximum of the values. |
If the source is empty or contains only nulls, the maximum value is null.
It is possible to use standard LINQ query operator Max instead of LiveMax. Both are "live" in the sense that they are recomputed automatically when any change occurs in the source. The difference is that Max will every time loop through the entire source collection and aggregate it from scratch, whereas LiveMax will use a more performant algorithm, will maintain its value incrementally, processing only those source items that actually changed.
Computes the maximum value of a view of long values that are obtained by invoking a transform function on each element of the source view.
public static AggregationView<TSource, long> LiveMax<TSource>(this View<TSource> source, Expression<Func<TSource, long>> selector)
Type | Name | Description |
---|---|---|
View<TSource> | source | A view containing the values to determine the maximum value of. |
Expression<Func<TSource, long>> | selector | A transform function to apply to each element. |
Type | Description |
---|---|
AggregationView<TSource, long> | A view representing the maximum of the values. |
Name | Description |
---|---|
TSource | The type of the elements of source. |
If the source is empty, an InvalidOperationException is thrown.
It is possible to use standard LINQ query operator Max instead of LiveMax. Both are "live" in the sense that they are recomputed automatically when any change occurs in the source. The difference is that Max will every time loop through the entire source collection and aggregate it from scratch, whereas LiveMax will use a more performant algorithm, will maintain its value incrementally, processing only those source items that actually changed.
Computes the maximum value of a view of nullable long values that are obtained by invoking a transform function on each element of the source view.
public static AggregationView<TSource, long?> LiveMax<TSource>(this View<TSource> source, Expression<Func<TSource, long?>> selector)
Type | Name | Description |
---|---|---|
View<TSource> | source | A view containing the values to determine the maximum value of. |
Expression<Func<TSource, long?>> | selector | A transform function to apply to each element. |
Type | Description |
---|---|
AggregationView<TSource, long?> | A view representing the maximum of the values. |
Name | Description |
---|---|
TSource | The type of the elements of source. |
If the source is empty or contains only nulls, the maximum value is null.
It is possible to use standard LINQ query operator Max instead of LiveMax. Both are "live" in the sense that they are recomputed automatically when any change occurs in the source. The difference is that Max will every time loop through the entire source collection and aggregate it from scratch, whereas LiveMax will use a more performant algorithm, will maintain its value incrementally, processing only those source items that actually changed.
Computes the maximum value of a view of double values.
public static AggregationView<double, double> LiveMax(this View<double> source)
Type | Name | Description |
---|---|---|
View<double> | source | A view containing the values to determine the maximum value of. |
Type | Description |
---|---|
AggregationView<double, double> | A view representing the maximum of the values. |
If the source is empty or contains only nulls, an InvalidOperationException is thrown.
It is possible to use standard LINQ query operator Max instead of LiveMax. Both are "live" in the sense that they are recomputed automatically when any change occurs in the source. The difference is that Max will every time loop through the entire source collection and aggregate it from scratch, whereas LiveMax will use a more performant algorithm, will maintain its value incrementally, processing only those source items that actually changed.
Computes the maximum value of a view of nullable double values.
public static AggregationView<double?, double?> LiveMax(this View<double?> source)
Type | Name | Description |
---|---|---|
View<double?> | source | A view containing the values to determine the maximum value of. |
Type | Description |
---|---|
AggregationView<double?, double?> | A view representing the maximum of the values. |
If the source is empty or contains only nulls, the maximum value is null.
It is possible to use standard LINQ query operator Max instead of LiveMax. Both are "live" in the sense that they are recomputed automatically when any change occurs in the source. The difference is that Max will every time loop through the entire source collection and aggregate it from scratch, whereas LiveMax will use a more performant algorithm, will maintain its value incrementally, processing only those source items that actually changed.
Computes the maximum value of a view of double values that are obtained by invoking a transform function on each element of the source view.
public static AggregationView<TSource, double> LiveMax<TSource>(this View<TSource> source, Expression<Func<TSource, double>> selector)
Type | Name | Description |
---|---|---|
View<TSource> | source | A view containing the values to determine the maximum value of. |
Expression<Func<TSource, double>> | selector | A transform function to apply to each element. |
Type | Description |
---|---|
AggregationView<TSource, double> | A view representing the maximum of the values. |
Name | Description |
---|---|
TSource | The type of the elements of source. |
If the source is empty, an InvalidOperationException is thrown.
It is possible to use standard LINQ query operator Max instead of LiveMax. Both are "live" in the sense that they are recomputed automatically when any change occurs in the source. The difference is that Max will every time loop through the entire source collection and aggregate it from scratch, whereas LiveMax will use a more performant algorithm, will maintain its value incrementally, processing only those source items that actually changed.
Computes the maximum value of a view of nullable double values that are obtained by invoking a transform function on each element of the source view.
public static AggregationView<TSource, double?> LiveMax<TSource>(this View<TSource> source, Expression<Func<TSource, double?>> selector)
Type | Name | Description |
---|---|---|
View<TSource> | source | A view containing the values to determine the maximum value of. |
Expression<Func<TSource, double?>> | selector | A transform function to apply to each element. |
Type | Description |
---|---|
AggregationView<TSource, double?> | A view representing the maximum of the values. |
Name | Description |
---|---|
TSource | The type of the elements of source. |
If the source is empty or contains only nulls, the maximum value is null.
It is possible to use standard LINQ query operator Max instead of LiveMax. Both are "live" in the sense that they are recomputed automatically when any change occurs in the source. The difference is that Max will every time loop through the entire source collection and aggregate it from scratch, whereas LiveMax will use a more performant algorithm, will maintain its value incrementally, processing only those source items that actually changed.
Computes the maximum value of a view of float values.
public static AggregationView<float, float> LiveMax(this View<float> source)
Type | Name | Description |
---|---|---|
View<float> | source | A view containing the values to determine the maximum value of. |
Type | Description |
---|---|
AggregationView<float, float> | A view representing the maximum of the values. |
If the source is empty or contains only nulls, an InvalidOperationException is thrown.
It is possible to use standard LINQ query operator Max instead of LiveMax. Both are "live" in the sense that they are recomputed automatically when any change occurs in the source. The difference is that Max will every time loop through the entire source collection and aggregate it from scratch, whereas LiveMax will use a more performant algorithm, will maintain its value incrementally, processing only those source items that actually changed.
Computes the maximum value of a view of nullable float values.
public static AggregationView<float?, float?> LiveMax(this View<float?> source)
Type | Name | Description |
---|---|---|
View<float?> | source | A view containing the values to determine the maximum value of. |
Type | Description |
---|---|
AggregationView<float?, float?> | A view representing the maximum of the values. |
If the source is empty or contains only nulls, the maximum value is null.
It is possible to use standard LINQ query operator Max instead of LiveMax. Both are "live" in the sense that they are recomputed automatically when any change occurs in the source. The difference is that Max will every time loop through the entire source collection and aggregate it from scratch, whereas LiveMax will use a more performant algorithm, will maintain its value incrementally, processing only those source items that actually changed.
Computes the maximum value of a view of float values that are obtained by invoking a transform function on each element of the source view.
public static AggregationView<TSource, float> LiveMax<TSource>(this View<TSource> source, Expression<Func<TSource, float>> selector)
Type | Name | Description |
---|---|---|
View<TSource> | source | A view containing the values to determine the maximum value of. |
Expression<Func<TSource, float>> | selector | A transform function to apply to each element. |
Type | Description |
---|---|
AggregationView<TSource, float> | A view representing the maximum of the values. |
Name | Description |
---|---|
TSource | The type of the elements of source. |
If the source is empty, an InvalidOperationException is thrown.
It is possible to use standard LINQ query operator Max instead of LiveMax. Both are "live" in the sense that they are recomputed automatically when any change occurs in the source. The difference is that Max will every time loop through the entire source collection and aggregate it from scratch, whereas LiveMax will use a more performant algorithm, will maintain its value incrementally, processing only those source items that actually changed.
Computes the maximum value of a view of nullable float values that are obtained by invoking a transform function on each element of the source view.
public static AggregationView<TSource, float?> LiveMax<TSource>(this View<TSource> source, Expression<Func<TSource, float?>> selector)
Type | Name | Description |
---|---|---|
View<TSource> | source | A view containing the values to determine the maximum value of. |
Expression<Func<TSource, float?>> | selector | A transform function to apply to each element. |
Type | Description |
---|---|
AggregationView<TSource, float?> | A view representing the maximum of the values. |
Name | Description |
---|---|
TSource | The type of the elements of source. |
If the source is empty or contains only nulls, the maximum value is null.
It is possible to use standard LINQ query operator Max instead of LiveMax. Both are "live" in the sense that they are recomputed automatically when any change occurs in the source. The difference is that Max will every time loop through the entire source collection and aggregate it from scratch, whereas LiveMax will use a more performant algorithm, will maintain its value incrementally, processing only those source items that actually changed.
Invokes a transform function on each element of a view of elements of a generic type and computes the maximum resulting value.
public static AggregationView<TSource, TResult> LiveMax<TSource, TResult>(this View<TSource> source, Expression<Func<TSource, TResult>> selector)
Type | Name | Description |
---|---|---|
View<TSource> | source | A view containing the values to determine the maximum value of. |
Expression<Func<TSource, TResult>> | selector | A transform function to apply to each element. |
Type | Description |
---|---|
AggregationView<TSource, TResult> | A view representing the maximum of the values. |
Name | Description |
---|---|
TSource | The type of the elements of source. |
TResult | The type of the value returned by selector. |
If type TResult implements IComparable<T>, this method uses that implementation to compare values. Otherwise, if type TResult implements IComparable, that implementation is used to compare values.
It is possible to use standard LINQ query operator Max instead of LiveMax. Both are "live" in the sense that they are recomputed automatically when any change occurs in the source. The difference is that Max will every time loop through the entire source collection and aggregate it from scratch, whereas LiveMax will use a more performant algorithm, will maintain its value incrementally, processing only those source items that actually changed.
Computes the maximum value of a view of elements of a generic type.
public static AggregationView<TSource, TSource> LiveMax<TSource>(this View<TSource> source)
Type | Name | Description |
---|---|---|
View<TSource> | source | A view containing the values to determine the maximum value of. |
Type | Description |
---|---|
AggregationView<TSource, TSource> | A view representing the maximum of the values. |
Name | Description |
---|---|
TSource | The type of the elements of source. |
If type TSource implements IComparable<T>, this method uses that implementation to compare values. Otherwise, if type TSource implements IComparable, that implementation is used to compare values.
It is possible to use standard LINQ query operator Max instead of LiveMax. Both are "live" in the sense that they are recomputed automatically when any change occurs in the source. The difference is that Max will every time loop through the entire source collection and aggregate it from scratch, whereas LiveMax will use a more performant algorithm, will maintain its value incrementally, processing only those source items that actually changed.