Ejemplo n.º 1
0
 public IdfField(bool required,
                 string units,
                 double minimum,
                 double maximum,
                 string defaultValue,
                 bool autoCalculatable,
                 bool autoSizeable,
                 IdfFieldAlphaNumeric alphaNumeric,
                 HashSet <string> keys,
                 string name,
                 IdfFieldMinMaxType minType,
                 IdfFieldMinMaxType maxType,
                 List <string> referenceList,
                 List <string> referenceClassList,
                 List <string> objectList)
 {
     Required           = required;
     Units              = units;
     Minimum            = minimum;
     Maximum            = maximum;
     Default            = defaultValue;
     AutoCalculatable   = autoCalculatable;
     AutoSizeable       = autoSizeable;
     AlphaNumeric       = alphaNumeric;
     Keys               = keys;
     Name               = name;
     MinType            = minType;
     MaxType            = maxType;
     ReferenceList      = referenceList;
     ReferenceClassList = referenceClassList;
     ObjectList         = objectList;
 }
 public NumericFieldOutOfRangeError(IToken token, MinMax minMax, IdfFieldMinMaxType minMaxType, string valueEntered, double boundsValue, string fieldName)
 {
     _token        = token;
     _minMax       = minMax;
     _minMaxType   = minMaxType;
     _valueEntered = valueEntered;
     _boundsValue  = boundsValue;
     _fieldName    = fieldName;
 }