Microsoft.Bot.Builder.FormFlow.Advanced.Confirmation< T > Class Template Reference

Confirmation More...

Inheritance diagram for Microsoft.Bot.Builder.FormFlow.Advanced.Confirmation< T >:

Public Member Functions

 Confirmation (PromptAttribute prompt, ActiveDelegate< T > condition, IEnumerable< string > dependencies, IForm< T > form)
 Construct a confirmation. More...
 
 Confirmation (MessageDelegate< T > generateMessage, ActiveDelegate< T > condition, IEnumerable< string > dependencies, IForm< T > form)
 Construct a confirmation dynamically. More...
 
override bool Active (T state)
 Test to see if field is currently active based on the current state. More...
 
Field< T > AddDescription (object value, string description, string image=null, string message=null)
 Adds a description for a value. More...
 
Field< T > AddDescription (object value, DescribeAttribute description)
 Adds a full description for a value. More...
 
Field< T > AddTerms (object value, params string[] terms)
 Adds terms for a value. More...
 
Field< T > AddTerms (object value, TermsAttribute terms)
 Adds terms for a value. More...
 
virtual async Task< bool > DefineAsync (T state)
 Build the prompt and recognizer for dynamically defined fields. More...
 
override object GetValue (T state)
 Get this field value from form state. More...
 
override bool IsUnknown (T state)
 Test to see if the field value form state has a value. More...
 
virtual bool Limits (out double min, out double max)
 Limits of numeric values. More...
 
virtual void Localize ()
 Loads any string resources from the form localizer. More...
 
override NextStep Next (object value, T state)
 Next step to execute. More...
 
Field< T > RemoveValue (object value)
 Removes the description and terms associated with a value. More...
 
Field< T > RemoveValues ()
 Removes all values and their associated descriptions and terms. More...
 
Field< T > ReplaceTemplate (TemplateAttribute template)
 Replace a template in the field. More...
 
virtual void SaveResources ()
 Adds any string resources to form localizer. More...
 
Field< T > SetActive (ActiveDelegate< T > condition)
 Define a delegate for checking state to see if field applies. More...
 
Field< T > SetAllowsMultiple (bool multiple=true)
 Sets whether or not multiple values are allowed. More...
 
Field< T > SetDefine (DefineAsyncDelegate< T > definition)
 Define a delegate for dynamically defining field. More...
 
Field< T > SetDependencies (params string[] dependencies)
 Define the fields this field depends on. More...
 
Field< T > SetFieldDescription (string description)
 Set the field description. More...
 
Field< T > SetFieldDescription (DescribeAttribute description)
 Set the full field description. More...
 
Field< T > SetFieldTerms (params string[] terms)
 Set the terms associated with the field. More...
 
Field< T > SetIsNullable (bool nullable=true)
 Set whether or not field is nullable. More...
 
Field< T > SetLimits (double min, double max)
 Set numeric limits. More...
 
Field< T > SetNext (NextDelegate< T > next)
 Delegate for deciding on the next form step to execute. More...
 
Field< T > SetOptional (bool optional=true)
 Set whether or not a field is optional. More...
 
Field< T > SetPattern (string pattern)
 Regular expression for validating strings. More...
 
Field< T > SetPrompt (PromptAttribute prompt)
 Sets the field prompt. More...
 
Field< T > SetRecognizer (IRecognize< T > recognizer)
 Sets the recognizer for the field. More...
 
Field< T > SetType (Type type)
 Sets the type of the underlying field state. More...
 
override void SetUnknown (T state)
 Set this field value in form state to unknown. More...
 
Field< T > SetValidate (ValidateAsyncDelegate< T > validate)
 Set the field validation. More...
 
override void SetValue (T state, object value)
 Set this field value in form state. More...
 
virtual TemplateAttribute Template (TemplateUsage usage)
 Return a template for building a prompt. More...
 
virtual IEnumerable< string > Terms (object value)
 Given a value return terms that can be used in a dialog to match the object. More...
 
virtual async Task< ValidateResultValidateAsync (T state, object value)
 Validate value to be set on state and return feedback if not valid. More...
 
virtual DescribeAttribute ValueDescription (object value)
 Return the description of a specific value. More...
 

Protected Member Functions

void AddTemplate (TemplateAttribute template)
 
void DefinePrompt ()
 
void DefineRecognizer ()
 
void SetLimits (double min, double max, bool limited)
 

Protected Attributes

bool _allowsMultiple
 
bool _buildPrompts = true
 
ActiveDelegate< T > _condition = new ActiveDelegate<T>((state) => true)
 
DefineAsyncDelegate< T > _define = null
 
string[] _dependencies = Array.Empty<string>()
 
DescribeAttribute _description = new DescribeAttribute(null)
 
IForm< T > _form
 
IPrompt< T > _help
 
bool _isNullable
 
bool _keepZero
 
bool _limited
 
double _min
 
string _name
 
NextDelegate< T > _next = new NextDelegate<T>((value, state) => new NextStep())
 
bool _optional
 
string _pattern
 
IPrompt< T > _prompt
 
PromptAttribute _promptDefinition
 
bool _promptSet
 
IRecognize< T > _recognizer
 
FieldRole _role
 
Dictionary< TemplateUsage, TemplateAttribute_templates = new Dictionary<TemplateUsage, TemplateAttribute>()
 
TermsAttribute _terms = new TermsAttribute()
 
Type _type
 
ValidateAsyncDelegate< T > _validate = new ValidateAsyncDelegate<T>(async (state, value) => new ValidateResult { IsValid = true, Value = value })
 
Dictionary< object, DescribeAttribute_valueDescriptions = new Dictionary<object, DescribeAttribute>()
 
Dictionary< object, TermsAttribute_valueTerms = new Dictionary<object, TermsAttribute>()
 

Properties

virtual bool AllowDefault [get]
 
bool AllowNumbers [get]
 
virtual bool AllowsMultiple [get]
 
override IEnumerable< string > Dependencies [get]
 
virtual DescribeAttribute FieldDescription [get]
 
virtual IEnumerable< string > FieldTerms [get]
 
virtual IForm< T > Form [get, set]
 
virtual IPrompt< T > Help [get]
 
virtual bool IsNullable [get]
 
string Name [get]
 
virtual bool Optional [get]
 
virtual string Pattern [get]
 
virtual IPrompt< T > Prompt [get]
 
virtual FieldRole Role [get]
 
virtual Type Type [get]
 
virtual IEnumerable< DescribeAttributeValueDescriptions [get]
 
virtual IEnumerable< object > Values [get]
 

Detailed Description

Confirmation

Template Parameters
TForm state.
Type Constraints
T :class 

Definition at line 45 of file Confirmation.cs.

Constructor & Destructor Documentation

Microsoft.Bot.Builder.FormFlow.Advanced.Confirmation< T >.Confirmation ( PromptAttribute  prompt,
ActiveDelegate< T >  condition,
IEnumerable< string >  dependencies,
IForm< T >  form 
)
inline

Construct a confirmation.

Parameters
promptConfirmation prompt expressed using Pattern Language.
conditionDelegate for whether confirmation applies.
dependenciesFields that must have values before confirmation can run.
formForm that contains confirmation.

Definition at line 55 of file Confirmation.cs.

Microsoft.Bot.Builder.FormFlow.Advanced.Confirmation< T >.Confirmation ( MessageDelegate< T >  generateMessage,
ActiveDelegate< T >  condition,
IEnumerable< string >  dependencies,
IForm< T >  form 
)
inline

Construct a confirmation dynamically.

Parameters
generateMessageDelegate for building confirmation.
conditionDelegate to see if confirmation is active.
dependenciesFields that must have values before confirmation can run.
formForm that contains confirmation.

Definition at line 74 of file Confirmation.cs.

Member Function Documentation

override bool Microsoft.Bot.Builder.FormFlow.Advanced.Confirmation< T >.Active ( state)
inlinevirtual

Test to see if field is currently active based on the current state.

Returns
True if field is active.

One way to control this is to supply a ActiveDelegate<T> to the IFormBuilder<T>.Field or IFormBuilder<T>.Confirm steps.

Reimplemented from Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.

Definition at line 100 of file Confirmation.cs.

Field<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.AddDescription ( object  value,
string  description,
string  image = null,
string  message = null 
)
inlineinherited

Adds a description for a value.

Parameters
valueThe value.
descriptionDescription of the value.
imageImage to use for value as button.
messageMessage to return when button is pressed.
Returns
A Field<T>.

Definition at line 426 of file Field.cs.

Field<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.AddDescription ( object  value,
DescribeAttribute  description 
)
inlineinherited

Adds a full description for a value.

Parameters
valueThe value.
descriptionDescription of the value.
Returns
A Field<T>.

Definition at line 436 of file Field.cs.

void Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.AddTemplate ( TemplateAttribute  template)
inlineprotectedinherited

Definition at line 746 of file Field.cs.

Field<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.AddTerms ( object  value,
params string[]  terms 
)
inlineinherited

Adds terms for a value.

Parameters
valueThe value.
termsThe terms.
Returns
A Field<T>.

Definition at line 446 of file Field.cs.

Field<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.AddTerms ( object  value,
TermsAttribute  terms 
)
inlineinherited

Adds terms for a value.

Parameters
valueThe value.
termsThe terms to add.
Returns
A Field<T>.

Definition at line 456 of file Field.cs.

virtual async Task<bool> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.DefineAsync ( state)
inlinevirtualinherited

Build the prompt and recognizer for dynamically defined fields.

Returns
True if field is defined.

This method is called before asking for Prompt. This provides an opportunity to dynamically define the field based on the current state or external information. The IFieldState<T>.Dependencies method identifies fields that this one depends on. All of them will be complete before the field will be shown to the user, but this method might be called earlier in order to define the field for things like status and initial matching or validation.

Implements Microsoft.Bot.Builder.FormFlow.Advanced.IFieldPrompt< T >.

Definition at line 350 of file Field.cs.

void Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.DefinePrompt ( )
inlineprotectedinherited

Definition at line 649 of file Field.cs.

void Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.DefineRecognizer ( )
inlineprotectedinherited

Definition at line 691 of file Field.cs.

override object Microsoft.Bot.Builder.FormFlow.Advanced.Confirmation< T >.GetValue ( state)
inlinevirtual

Get this field value from form state.

Parameters
stateForm state to get field value from.
Returns
Current value found in state.

Reimplemented from Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.

Definition at line 86 of file Confirmation.cs.

override bool Microsoft.Bot.Builder.FormFlow.Advanced.Confirmation< T >.IsUnknown ( state)
inlinevirtual

Test to see if the field value form state has a value.

Parameters
stateForm state to check.
Returns
True if value is unknown.

For value types (numbers, bools, date time) a value is unknown only if the field is nullable and it is null. For enum based values (both simple and enumerated) they can also be nullable or the 0 enum value if not nullable. For non value types like string the test is to see if the field is actually null.

Reimplemented from Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.

Definition at line 115 of file Confirmation.cs.

virtual bool Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.Limits ( out double  min,
out double  max 
)
inlinevirtualinherited

Limits of numeric values.

Parameters
minMinimum possible value.
maxMaximum possible value.
Returns
True if limits limit the underlying data type.

This typically reflects the result of setting NumericAttribute limits on the possible values.

Implements Microsoft.Bot.Builder.FormFlow.Advanced.IFieldState< T >.

Definition at line 149 of file Field.cs.

virtual void Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.Localize ( )
inlinevirtualinherited

Loads any string resources from the form localizer.

Implements Microsoft.Bot.Builder.FormFlow.Advanced.IFieldResources.

Definition at line 272 of file Field.cs.

override NextStep Microsoft.Bot.Builder.FormFlow.Advanced.Confirmation< T >.Next ( object  value,
state 
)
inlinevirtual

Next step to execute.

Parameters
valueValue in response to prompt.
stateCurrent form state.
Returns
Next step to execute.

Reimplemented from Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.

Definition at line 105 of file Confirmation.cs.

Field<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.RemoveValue ( object  value)
inlineinherited

Removes the description and terms associated with a value.

Parameters
valueThe value to remove.
Returns
A Field<T>.

Definition at line 465 of file Field.cs.

Field<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.RemoveValues ( )
inlineinherited

Removes all values and their associated descriptions and terms.

Returns
A Field<T>.

Definition at line 474 of file Field.cs.

Field<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.ReplaceTemplate ( TemplateAttribute  template)
inlineinherited

Replace a template in the field.

Parameters
templateThe template.
Returns
A Field<T>.

Definition at line 570 of file Field.cs.

virtual void Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.SaveResources ( )
inlinevirtualinherited

Adds any string resources to form localizer.

Implements Microsoft.Bot.Builder.FormFlow.Advanced.IFieldResources.

Definition at line 248 of file Field.cs.

Field<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.SetActive ( ActiveDelegate< T >  condition)
inlineinherited

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

Parameters
conditionThe condition delegate.
Returns
A Field<T>.

Definition at line 524 of file Field.cs.

Field<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.SetAllowsMultiple ( bool  multiple = true)
inlineinherited

Sets whether or not multiple values are allowed.

Parameters
multipleTrue if multiple values are allowed.
Returns
A Field<T>.

Definition at line 504 of file Field.cs.

Field<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.SetDefine ( DefineAsyncDelegate< T >  definition)
inlineinherited

Define a delegate for dynamically defining field.

Parameters
definitionThe definition delegate.
Returns
A Field<T>.

When you dynamically define a field through this delegate you can use all of the fluent methods defined on Field<T> to change the descriptions and terms dynamically.

Definition at line 537 of file Field.cs.

Field<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.SetDependencies ( params string[]  dependencies)
inlineinherited

Define the fields this field depends on.

Parameters
dependenciesA variable-length parameters list containing dependencies.
Returns
A Field<T>.

Definition at line 630 of file Field.cs.

Field<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.SetFieldDescription ( string  description)
inlineinherited

Set the field description.

Parameters
descriptionField description.
Returns
A Field<T>.

Definition at line 394 of file Field.cs.

Field<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.SetFieldDescription ( DescribeAttribute  description)
inlineinherited

Set the full field description.

Parameters
descriptionThe field description.
Returns
A Field<T>.

Definition at line 405 of file Field.cs.

Field<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.SetFieldTerms ( params string[]  terms)
inlineinherited

Set the terms associated with the field.

Parameters
termsThe terms.
Returns
A Field<T>.

Definition at line 414 of file Field.cs.

Field<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.SetIsNullable ( bool  nullable = true)
inlineinherited

Set whether or not field is nullable.

Parameters
nullableTrue if field is nullable.
Returns
A Field<T>.

Definition at line 513 of file Field.cs.

Field<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.SetLimits ( double  min,
double  max 
)
inlineinherited

Set numeric limits.

Parameters
minThe minimum.
maxThe maximum.
Returns
A Field<T>.

Definition at line 589 of file Field.cs.

void Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.SetLimits ( double  min,
double  max,
bool  limited 
)
inlineprotectedinherited

Definition at line 739 of file Field.cs.

Field<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.SetNext ( NextDelegate< T >  next)
inlineinherited

Delegate for deciding on the next form step to execute.

Returns
A Field<T>.

Definition at line 640 of file Field.cs.

Field<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.SetOptional ( bool  optional = true)
inlineinherited

Set whether or not a field is optional.

Parameters
optionalTrue if field is optional.
Returns
A Field<T>.

Definition at line 493 of file Field.cs.

Field<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.SetPattern ( string  pattern)
inlineinherited

Regular expression for validating strings.

Parameters
patternValidation regular expression.
Returns
A Field<T>.

Definition at line 600 of file Field.cs.

Field<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.SetPrompt ( PromptAttribute  prompt)
inlineinherited

Sets the field prompt.

Parameters
promptThe prompt.
Returns
A Field<T>.

Definition at line 546 of file Field.cs.

Field<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.SetRecognizer ( IRecognize< T >  recognizer)
inlineinherited

Sets the recognizer for the field.

Parameters
recognizerThe recognizer for the field.
Returns
A Field<T>.

This should only be called when you are dynamically defining a field using a DefineAsyncDelegate<T> because recognizers usually require the field and often change if the localization changes.

Definition at line 560 of file Field.cs.

Field<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.SetType ( Type  type)
inlineinherited

Sets the type of the underlying field state.

Parameters
typeThe field type.
Returns
A Field<T>.

Definition at line 484 of file Field.cs.

override void Microsoft.Bot.Builder.FormFlow.Advanced.Confirmation< T >.SetUnknown ( state)
inlinevirtual

Set this field value in form state to unknown.

Parameters
stateForm state with field value to set to unknown.

For value types (numbers, bools, date time) the value is set to null if nullable. For enum types it is set to null if nullable or 0 if not. For non value types like string set the value to null.

Reimplemented from Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.

Definition at line 120 of file Confirmation.cs.

Field<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.SetValidate ( ValidateAsyncDelegate< T >  validate)
inlineinherited

Set the field validation.

Parameters
validateThe validator.
Returns
A Field<T>.

Definition at line 579 of file Field.cs.

override void Microsoft.Bot.Builder.FormFlow.Advanced.Confirmation< T >.SetValue ( state,
object  value 
)
inlinevirtual

Set this field value in form state.

Parameters
stateForm state to set field value in.
valueNew value.

Reimplemented from Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.

Definition at line 110 of file Confirmation.cs.

virtual TemplateAttribute Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.Template ( TemplateUsage  usage)
inlinevirtualinherited

Return a template for building a prompt.

Parameters
usageKind of template we are looking for.
Returns
NULL if no template, otherwise a template annotation.

Implements Microsoft.Bot.Builder.FormFlow.Advanced.IFieldPrompt< T >.

Definition at line 331 of file Field.cs.

virtual IEnumerable<string> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.Terms ( object  value)
inlinevirtualinherited

Given a value return terms that can be used in a dialog to match the object.

Parameters
valueValue that would result from a match.
Returns
Enumeration of regex.

Implements Microsoft.Bot.Builder.FormFlow.Advanced.IFieldDescription.

Definition at line 195 of file Field.cs.

virtual async Task<ValidateResult> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.ValidateAsync ( state,
object  value 
)
inlinevirtualinherited

Validate value to be set on state and return feedback if not valid.

Parameters
stateState before setting value.
valueValue to be set in field.
Returns
Result including feedback and if valid.

One way to control this is to supply a ValidateAsyncDelegate<T> to the IFormBuilder<T>.Field or IFormBuilder<T>.Confirm steps.

Implements Microsoft.Bot.Builder.FormFlow.Advanced.IFieldPrompt< T >.

Definition at line 369 of file Field.cs.

virtual DescribeAttribute Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.ValueDescription ( object  value)
inlinevirtualinherited

Return the description of a specific value.

Parameters
valueValue being described.
Returns
Description of value.

Implements Microsoft.Bot.Builder.FormFlow.Advanced.IFieldDescription.

Definition at line 200 of file Field.cs.

Member Data Documentation

bool Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >._allowsMultiple
protectedinherited

Definition at line 762 of file Field.cs.

bool Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >._buildPrompts = true
protectedinherited

Definition at line 774 of file Field.cs.

ActiveDelegate<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >._condition = new ActiveDelegate<T>((state) => true)
protectedinherited

Definition at line 754 of file Field.cs.

DefineAsyncDelegate<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >._define = null
protectedinherited

Definition at line 755 of file Field.cs.

string [] Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >._dependencies = Array.Empty<string>()
protectedinherited

Definition at line 761 of file Field.cs.

DescribeAttribute Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >._description = new DescribeAttribute(null)
protectedinherited

Definition at line 767 of file Field.cs.

IForm<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >._form
protectedinherited

Definition at line 751 of file Field.cs.

IPrompt<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >._help
protectedinherited

Definition at line 776 of file Field.cs.

bool Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >._isNullable
protectedinherited

Definition at line 765 of file Field.cs.

bool Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >._keepZero
protectedinherited

Definition at line 766 of file Field.cs.

bool Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >._limited
protectedinherited

Definition at line 759 of file Field.cs.

double Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >._min
protectedinherited

Definition at line 758 of file Field.cs.

string Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >._name
protectedinherited

Definition at line 752 of file Field.cs.

NextDelegate<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >._next = new NextDelegate<T>((value, state) => new NextStep())
protectedinherited

Definition at line 757 of file Field.cs.

bool Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >._optional
protectedinherited

Definition at line 764 of file Field.cs.

string Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >._pattern
protectedinherited

Definition at line 760 of file Field.cs.

IPrompt<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >._prompt
protectedinherited

Definition at line 777 of file Field.cs.

PromptAttribute Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >._promptDefinition
protectedinherited

Definition at line 773 of file Field.cs.

bool Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >._promptSet
protectedinherited

Definition at line 772 of file Field.cs.

IRecognize<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >._recognizer
protectedinherited

Definition at line 775 of file Field.cs.

Definition at line 753 of file Field.cs.

Dictionary<TemplateUsage, TemplateAttribute> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >._templates = new Dictionary<TemplateUsage, TemplateAttribute>()
protectedinherited

Definition at line 771 of file Field.cs.

Definition at line 768 of file Field.cs.

Type Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >._type
protectedinherited

Definition at line 763 of file Field.cs.

ValidateAsyncDelegate<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >._validate = new ValidateAsyncDelegate<T>(async (state, value) => new ValidateResult { IsValid = true, Value = value })
protectedinherited

Definition at line 756 of file Field.cs.

Dictionary<object, DescribeAttribute> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >._valueDescriptions = new Dictionary<object, DescribeAttribute>()
protectedinherited

Definition at line 769 of file Field.cs.

Dictionary<object, TermsAttribute> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >._valueTerms = new Dictionary<object, TermsAttribute>()
protectedinherited

Definition at line 770 of file Field.cs.

Property Documentation

virtual bool Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.AllowDefault
getinherited

Definition at line 230 of file Field.cs.

bool Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.AllowNumbers
getinherited

Definition at line 238 of file Field.cs.

virtual bool Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.AllowsMultiple
getinherited

Definition at line 222 of file Field.cs.

override IEnumerable<string> Microsoft.Bot.Builder.FormFlow.Advanced.Confirmation< T >.Dependencies
get

Definition at line 92 of file Confirmation.cs.

virtual DescribeAttribute Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.FieldDescription
getinherited

Definition at line 180 of file Field.cs.

virtual IEnumerable<string> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.FieldTerms
getinherited

Definition at line 188 of file Field.cs.

virtual IForm<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.Form
getsetinherited

Definition at line 87 of file Field.cs.

virtual IPrompt<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.Help
getinherited

Definition at line 375 of file Field.cs.

virtual bool Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.IsNullable
getinherited

Definition at line 142 of file Field.cs.

string Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.Name
getinherited

Definition at line 84 of file Field.cs.

virtual bool Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.Optional
getinherited

Definition at line 134 of file Field.cs.

virtual string Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.Pattern
getinherited

Definition at line 157 of file Field.cs.

virtual IPrompt<T> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.Prompt
getinherited

Definition at line 343 of file Field.cs.

Definition at line 172 of file Field.cs.

virtual Type Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.Type
getinherited

Definition at line 129 of file Field.cs.

virtual IEnumerable<DescribeAttribute> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.ValueDescriptions
getinherited

Definition at line 206 of file Field.cs.

virtual IEnumerable<object> Microsoft.Bot.Builder.FormFlow.Advanced.Field< T >.Values
getinherited

Definition at line 214 of file Field.cs.


The documentation for this class was generated from the following file: