Beispiel #1
0
 private void AddMessages(FieldInfo aField, Vpass anAttr)
 {
     if (anAttr.Message != null)
     {
         Messages.Add(anAttr.Message);
         return;
     }
     Messages.Add("Invalid range for " + aField.Name + ". Valid range is between " + anAttr.Min + " and " + anAttr.Max);
 }
Beispiel #2
0
 private void AddMessages(FieldInfo aField, Vpass anAttr)
 {
     if (anAttr.Message != null)
     {
         Messages.Add(anAttr.Message);
         return;
     }
     Messages.Add("Invalid range for " + aField.Name +". Valid range is between " + anAttr.Min + " and " + anAttr.Max);
 }