Microsoft.Bot.Builder.FormFlow.NumericAttribute Class Reference

Provide limits on the possible values in a numeric field or property. More...

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

Public Member Functions

 NumericAttribute (double min, double max)
 Specify the range of possible values for a number field. More...
 

Public Attributes

readonly double Max
 Max possible value. More...
 
readonly double Min
 Min possible value. More...
 

Detailed Description

Provide limits on the possible values in a numeric field or property.

By default the limits are the min and max of the underlying field type.

Definition at line 625 of file Attributes.cs.

Constructor & Destructor Documentation

Microsoft.Bot.Builder.FormFlow.NumericAttribute.NumericAttribute ( double  min,
double  max 
)
inline

Specify the range of possible values for a number field.

Parameters
minMin value allowed.
maxMax value allowed.

Definition at line 642 of file Attributes.cs.

Member Data Documentation

readonly double Microsoft.Bot.Builder.FormFlow.NumericAttribute.Max

Max possible value.

Definition at line 635 of file Attributes.cs.

readonly double Microsoft.Bot.Builder.FormFlow.NumericAttribute.Min

Min possible value.

Definition at line 630 of file Attributes.cs.


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