Udostępnij przez


Scorable Klasa

Definicja

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

Metody

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

Wybierz pierwszy scorable, który generuje wynik.

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

Złożyć wyliczenie scorables przy użyciu porównywacza wyników.

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

Wartość True, jeśli scorable ma wartość inną niż null, w przeciwnym razie wartość false.

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

Zaprojektuj element scorable przy użyciu wyrażenia lambda.

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

Przeprojektuj wynik scorable przy użyciu wyrażenia lambda.

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

Wywołaj protokół wywoływania scorable względem pojedynczego scorable.

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

Spróbuj uprościć listę scorables.

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

Dotyczy