Exemplo n.º 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);
 }
Exemplo n.º 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);
 }