Share via


ChoiceSet Class

Definition

Defines ChoiceSet collection.

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)
Inheritance
ChoiceSet
Implements

Constructors

ChoiceSet()

Initializes a new instance of the ChoiceSet class.

ChoiceSet(IEnumerable<Choice>)

Initializes a new instance of the ChoiceSet class.

ChoiceSet(Object)

Initializes a new instance of the ChoiceSet class.

Methods

BindAsync(DialogContext, Object, CancellationToken)

Given the turn context bind to the data to create the object of type T.

Operators

Implicit(Boolean to ChoiceSet)

Converts a bool into a ChoiceSet.

Implicit(JToken to ChoiceSet)

Converts a Newtonsoft.Json.Linq.JToken into a ChoiceSet.

Implicit(String to ChoiceSet)

Converts a string into a ChoiceSet.

Extension Methods

Dequeue<T>(List<T>)

Removes first element of a queue.

Applies to