Microsoft.Bot.Builder.FormFlow.PatternAttribute Class Reference

Provide a regular expression to validate a string field. More...

Inheritance diagram for Microsoft.Bot.Builder.FormFlow.PatternAttribute:

Public Member Functions

 PatternAttribute (string pattern)
 Regular expression for validating the content of a string field. More...
 

Public Attributes

readonly string Pattern
 

Detailed Description

Provide a regular expression to validate a string field.

If the regular expression is not matched the TemplateUsage.NotUnderstood template will be used for feedback.

Definition at line 657 of file Attributes.cs.

Constructor & Destructor Documentation

Microsoft.Bot.Builder.FormFlow.PatternAttribute.PatternAttribute ( string  pattern)
inline

Regular expression for validating the content of a string field.

Parameters
patternRegular expression for validation.

Definition at line 665 of file Attributes.cs.

Member Data Documentation

readonly string Microsoft.Bot.Builder.FormFlow.PatternAttribute.Pattern

Definition at line 659 of file Attributes.cs.


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