public void Validate(Java.Lang.Object o, IValidationCompletedCallback validationCompletedCallback) { ValidationInfo info; if(o == null || o.ToString().Equals("")) { info = new ValidationInfo(false, "This field can not be empty.", o); } else { info = new ValidationInfo(true, "The entered value is valid.", o); } validationCompletedCallback.ValidationCompleted(info); }
public void Validate(Java.Lang.Object o, IValidationCompletedCallback validationCompletedCallback) { ValidationInfo info; if (o == null || o.ToString().Equals("")) { info = new ValidationInfo(false, "This field can not be empty.", o); } else { info = new ValidationInfo(true, "The entered value is valid.", o); } validationCompletedCallback.ValidationCompleted(info); }