Table of Contents

Class MinBy

Namespace
Bonsai.Reactive
Assembly
Bonsai.Core.dll

Represents an operator that returns the elements in the observable sequence with the minimum key value.

Marble diagram

The MinBy operator collects all the specified keys from values in the source sequence and emits a single value representing the value with the smallest key. The single result value is emitted only when the source sequence terminates successfully.

public class MinBy : SingleArgumentExpressionBuilder, IExpressionBuilder
Inheritance
MinBy
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

string

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.