MaxAttribute.MaxAttribute Constructor

Namespace:
Weavy.Core.Models
Assembly:
Weavy.Core.dll

Overloads

MaxAttribute(Double) Initializes a new instance of the MinAttribute class by using the specified maximum value.
MaxAttribute(Int32) Initializes a new instance of the MinAttribute class by using the specified maximum value.

MaxAttribute(double)

Initializes a new instance of the MinAttribute class by using the specified maximum value.

public MaxAttribute(double maximum)

Parameters

maximum
double

Specifies the maximum value allowed for the data field value.

MaxAttribute(int)

Initializes a new instance of the MinAttribute class by using the specified maximum value.

public MaxAttribute(int maximum)

Parameters

maximum
int

Specifies the maximum value allowed for the data field value.