Jaa


Scorable Class

Definition

public static class Scorable
type Scorable = class
Public Module Scorable
Inheritance
Scorable

Methods

First<Item,Score>(IEnumerable<IScorable<Item,Score>>)

Select the first scorable that produces a score.

Fold<Item,Score>(IEnumerable<IScorable<Item,Score>>, IComparer<Score>, FoldScorable<Item,Score>.OnStageDelegate)

Fold an enumeration of scorables using a score comparer.

Keep<Item,Score>(IScorable<Item,Score>)

True if the scorable is non-null, false otherwise.

SelectItem<SourceItem,TargetItem,Score>(IScorable<TargetItem,Score>, Func<SourceItem,TargetItem>)

Project the item of a scorable using a lambda expression.

SelectScore<Item,SourceScore,TargetScore>(IScorable<Item,SourceScore>, Func<Item,SourceScore,TargetScore>)

Project the score of a scorable using a lambda expression.

TryPostAsync<Item,Score>(IScorable<Item,Score>, Item, CancellationToken)

Invoke the scorable calling protocol against a single scorable.

TryReduce<Item,Score>(IEnumerable<IScorable<Item,Score>>, IScorable<Item,Score>)

Try to simplify a list of scorables.

WhereScore<Item,Score>(IScorable<Item,Score>, Func<Item,Score,Boolean>)

Applies to