Språk

ChoiceSet Klass

Definition

Definierar ChoiceSet-samling.

public class ChoiceSet : System.Collections.Generic.List<Microsoft.Bot.Builder.Dialogs.Choices.Choice>, Microsoft.Bot.Builder.Dialogs.ITemplate<Microsoft.Bot.Builder.Dialogs.Adaptive.Input.ChoiceSet>
type ChoiceSet = class
    inherit List<Choice>
    interface ITemplate<ChoiceSet>
Public Class ChoiceSet
Inherits List(Of Choice)
Implements ITemplate(Of ChoiceSet)
Arv
ChoiceSet
Implementeringar

Konstruktorer

Name Description
ChoiceSet()

Initierar en ny instans av ChoiceSet klassen.

ChoiceSet(IEnumerable<Choice>)

Initierar en ny instans av ChoiceSet klassen.

ChoiceSet(Object)

Initierar en ny instans av ChoiceSet klassen.

Metoder

Name Description
BindAsync(DialogContext, Object, CancellationToken)

Givet tur-kontexten, bind till datan för att skapa objektet av typ T.

Operatorer

Name Description
Implicit(Boolean to ChoiceSet)

Omvandlar en bool till en ChoiceSet.

Implicit(JToken to ChoiceSet)

Konverterar en Newtonsoft.Json.Linq.JToken till en ChoiceSet.

Implicit(String to ChoiceSet)

Omvandlar en sträng till en ChoiceSet.

Tilläggsmetoder

Name Description
Dequeue<T>(List<T>)

Tar bort första elementet i en kö.

Gäller för