Class MaxBy
Represents an operator that returns the elements in the observable sequence with the maximum key value.
The MaxBy
operator collects all the specified keys from values in the source sequence and emits a single value representing the value with the largest key. The single result value is emitted only when the source sequence terminates successfully.
public class MaxBy : SingleArgumentExpressionBuilder, IExpressionBuilder
- Inheritance
-
MaxBy
- Implements
- Inherited Members
- Extension Methods
Properties
KeySelector
Gets or sets a value specifying the inner properties used as key for each element in the sequence.
public string KeySelector { get; set; }
Property Value
Methods
Build(IEnumerable<Expression>)
Constructs an Expression node from a collection of input arguments. The result can be chained with other builders in a workflow.
public override Expression Build(IEnumerable<Expression> arguments)
Parameters
arguments
IEnumerable<Expression>A collection of Expression nodes representing the input arguments.
Returns
- Expression
The constructed Expression node.