SelectScoreScorable<Item,SourceScore,TargetScore> Klasa
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
[System.Serializable]
public sealed class SelectScoreScorable<Item,SourceScore,TargetScore> : Microsoft.Bot.Builder.Scorables.Internals.DelegatingScorable<Item,SourceScore>, Microsoft.Bot.Builder.Scorables.IScorable<Item,TargetScore>
[<System.Serializable>]
type SelectScoreScorable<'Item, 'SourceScore, 'argetScore> = class
inherit DelegatingScorable<'Item, 'SourceScore>
interface IScorable<'Item, 'argetScore>
Public NotInheritable Class SelectScoreScorable(Of Item, SourceScore, TargetScore)
Inherits DelegatingScorable(Of Item, SourceScore)
Implements IScorable(Of Item, TargetScore)
Parametry typu
- Item
- SourceScore
- TargetScore
- Dziedziczenie
- Atrybuty
- Implementuje
-
IScorable<Item,TargetScore>
Konstruktory
| Nazwa | Opis |
|---|---|
| SelectScoreScorable<Item,SourceScore,TargetScore>(IScorable<Item,SourceScore>, Func<Item,SourceScore,TargetScore>) | |
Pola
| Nazwa | Opis |
|---|---|
| inner | (Odziedziczone po DelegatingScorable<Item,Score>) |
Metody
| Nazwa | Opis |
|---|---|
| DoneAsync(Item, Object, CancellationToken) | (Odziedziczone po DelegatingScorable<Item,Score>) |
| GetScore(Item, Object) | (Odziedziczone po DelegatingScorable<Item,Score>) |
| HasScore(Item, Object) | (Odziedziczone po DelegatingScorable<Item,Score>) |
| PostAsync(Item, Object, CancellationToken) | (Odziedziczone po DelegatingScorable<Item,Score>) |
| PrepareAsync(Item, CancellationToken) | (Odziedziczone po DelegatingScorable<Item,Score>) |
| ToString() | (Odziedziczone po DelegatingScorable<Item,Score>) |
Jawne implementacje interfejsu
| Nazwa | Opis |
|---|---|
| IScorable<Item,TargetScore>.GetScore(Item, Object) | |
Metody rozszerzania
| Nazwa | Opis |
|---|---|
| SelectItem<SourceItem,TargetItem,Score>(IScorable<TargetItem,Score>, Func<SourceItem,TargetItem>) |
Project element punktowalnej za pomocą wyrażenia lambda. |
| SelectScore<Item,SourceScore,TargetScore>(IScorable<Item,SourceScore>, Func<Item,SourceScore,TargetScore>) |
Project wynik punktowalnego za pomocą wyrażenia lambda. |
| TryPostAsync<Item,Score>(IScorable<Item,Score>, Item, CancellationToken) |
Uruchom protokół wywołania do oceniania dla pojedynczego punktowalnego. |
| WhereScore<Item,Score>(IScorable<Item,Score>, Func<Item,Score,Boolean>) | |