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); }
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); }