예제 #1
0
 public RangeExAttribute(RangeExType type, string minimum, string maximum, string addMessage)
 {
     this._Minimum    = minimum;
     this._Maximum    = maximum;
     this._AddMessage = addMessage;
     this._Type       = type;
 }
예제 #2
0
 public RangeExAttribute(int minimum, int maximum, string addMessage)
 {
     this._Minimum    = minimum;
     this._Maximum    = maximum;
     this._AddMessage = addMessage;
     this._Type       = RangeExType.Int;
 }