Share via


FieldReflector<T> Class

Definition

Fill in field information through reflection.

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

Type Parameters

T

The form state.

Inheritance
FieldReflector<T>

Remarks

The resulting information can be overridden through the fluent interface.

Constructors

FieldReflector<T>(String, Boolean)

Construct an IField<T> through reflection.

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>)
_ignoreAnnotations

True to ignore annotations.

_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>)
_path

Path to field value in state.

_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 (Inherited from Field<T>)
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) (Inherited from Field<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>)
AddField(Type, String[], Int32)
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) (Inherited from Field<T>)
ProcessEnumAttributes(Type)
ProcessFieldAttributes(Object)
ProcessTemplates(Type)
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)
StepType(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