語言

ScoringEventLoop<Score> 類別

定義

此事件迴圈會將輸入的活動派遣到可計分的動作,若可計分的動作不匹配,則由某個內部活動的使用者(通常是對話系統)執行。

public sealed class ScoringEventLoop<Score> : Microsoft.Bot.Builder.Base.IEventLoop
type ScoringEventLoop<'Score> = class
    interface IEventLoop
Public NotInheritable Class ScoringEventLoop(Of Score)
Implements IEventLoop

類型參數

Score
繼承
ScoringEventLoop<Score>
實作

建構函式

名稱 Description
ScoringEventLoop<Score>(IEventLoop, IEventProducer<IActivity>, IEventConsumer<IActivity>, IScorable<IActivity,Score>)

此事件迴圈會將輸入的活動派遣到可計分的動作,若可計分的動作不匹配,則由某個內部活動的使用者(通常是對話系統)執行。

明確介面實作

名稱 Description
IEventLoop.PollAsync(CancellationToken)

此事件迴圈會將輸入的活動派遣到可計分的動作,若可計分的動作不匹配,則由某個內部活動的使用者(通常是對話系統)執行。

適用於