Share via


Confirmation<T> Class

Definition

Confirmation

public class Confirmation<T> : Microsoft.Bot.Builder.FormFlow.Advanced.Field<T> where T : class
type Confirmation<'T (requires 'T : null)> = class
    inherit Field<'T (requires 'T : null)>
Public Class Confirmation(Of T)
Inherits Field(Of T)

Type Parameters

T

Form state.

Inheritance
Confirmation<T>

Constructors

Confirmation<T>(MessageDelegate<T>, ActiveDelegate<T>, IEnumerable<String>, IForm<T>)

Construct a confirmation dynamically.

Confirmation<T>(PromptAttribute, ActiveDelegate<T>, IEnumerable<String>, IForm<T>)

Construct a confirmation.

Fields

_allowsMultiple (Inherited from Field<T>)
_buildPrompts (Inherited from Field<T>)
_condition (Inherited from Field<T>)
_define (Inherited from Field<T>)
_dependencies (Inherited from Field<T>)
_description (Inherited from Field<T>)
_form (Inherited from Field<T>)
_help (Inherited from Field<T>)
_isNullable (Inherited from Field<T>)
_keepZero (Inherited from Field<T>)
_limited (Inherited from Field<T>)
_max (Inherited from Field<T>)
_min (Inherited from Field<T>)
_name (Inherited from Field<T>)
_next (Inherited from Field<T>)
_optional (Inherited from Field<T>)
_pattern (Inherited from Field<T>)
_prompt (Inherited from Field<T>)
_promptDefinition (Inherited from Field<T>)
_promptSet (Inherited from Field<T>)
_recognizer (Inherited from Field<T>)
_role (Inherited from Field<T>)
_templates (Inherited from Field<T>)
_terms (Inherited from Field<T>)
_type (Inherited from Field<T>)
_validate (Inherited from Field<T>)
_valueDescriptions (Inherited from Field<T>)
_valueTerms (Inherited from Field<T>)

Properties

AllowDefault (Inherited from Field<T>)
AllowNumbers (Inherited from Field<T>)
AllowsMultiple (Inherited from Field<T>)
Dependencies
FieldDescription (Inherited from Field<T>)
FieldTerms (Inherited from Field<T>)
Form (Inherited from Field<T>)
Help (Inherited from Field<T>)
IsNullable (Inherited from Field<T>)
Name (Inherited from Field<T>)
Optional (Inherited from Field<T>)
Pattern (Inherited from Field<T>)
Prompt (Inherited from Field<T>)
Role (Inherited from Field<T>)
Type (Inherited from Field<T>)
ValueDescriptions (Inherited from Field<T>)
Values (Inherited from Field<T>)

Methods

Active(T)
AddDescription(Object, DescribeAttribute)

Adds a full description for a value.

(Inherited from Field<T>)
AddDescription(Object, String, String, String)

Adds a description for a value.

(Inherited from Field<T>)
AddTemplate(TemplateAttribute) (Inherited from Field<T>)
AddTerms(Object, String[])

Adds terms for a value.

(Inherited from Field<T>)
AddTerms(Object, TermsAttribute)

Adds terms for a value.

(Inherited from Field<T>)
DefineAsync(T) (Inherited from Field<T>)
DefinePrompt() (Inherited from Field<T>)
DefineRecognizer() (Inherited from Field<T>)
GetValue(T)
IsUnknown(T)
Limits(Double, Double) (Inherited from Field<T>)
Localize() (Inherited from Field<T>)
Next(Object, T)
RemoveValue(Object)

Removes the description and terms associated with a value.

(Inherited from Field<T>)
RemoveValues()

Removes all values and their associated descriptions and terms.

(Inherited from Field<T>)
ReplaceTemplate(TemplateAttribute)

Replace a template in the field.

(Inherited from Field<T>)
SaveResources() (Inherited from Field<T>)
SetActive(ActiveDelegate<T>)

Define a delegate for checking state to see if field applies.

(Inherited from Field<T>)
SetAllowsMultiple(Boolean)

Sets whether or not multiple values are allowed.

(Inherited from Field<T>)
SetDefine(DefineAsyncDelegate<T>)

Define a delegate for dynamically defining field.

(Inherited from Field<T>)
SetDependencies(String[])

Define the fields this field depends on.

(Inherited from Field<T>)
SetFieldDescription(DescribeAttribute)

Set the full field description.

(Inherited from Field<T>)
SetFieldDescription(String)

Set the field description.

(Inherited from Field<T>)
SetFieldTerms(String[])

Set the terms associated with the field.

(Inherited from Field<T>)
SetIsNullable(Boolean)

Set whether or not field is nullable.

(Inherited from Field<T>)
SetLimits(Double, Double, Boolean) (Inherited from Field<T>)
SetLimits(Double, Double)

Set numeric limits.

(Inherited from Field<T>)
SetNext(NextDelegate<T>)

Delegate for deciding on the next form step to execute.

(Inherited from Field<T>)
SetOptional(Boolean)

Set whether or not a field is optional.

(Inherited from Field<T>)
SetPattern(String)

Regular expression for validating strings.

(Inherited from Field<T>)
SetPrompt(PromptAttribute)

Sets the field prompt.

(Inherited from Field<T>)
SetRecognizer(IRecognize<T>)

Sets the recognizer for the field.

(Inherited from Field<T>)
SetType(Type)

Sets the type of the underlying field state.

(Inherited from Field<T>)
SetUnknown(T)
SetValidate(ValidateAsyncDelegate<T>)

Set the field validation.

(Inherited from Field<T>)
SetValue(T, Object)
Template(TemplateUsage) (Inherited from Field<T>)
Terms(Object) (Inherited from Field<T>)
ValidateAsync(T, Object) (Inherited from Field<T>)
ValueDescription(Object) (Inherited from Field<T>)

Applies to