private bool HandleErrorsMarked(ICollection <ValidationError> errors, ValidationReason reason) { if (this.ErrorsMarked != null) { ErrorsMarkedEventArgs arg = new ErrorsMarkedEventArgs(errors, reason, this.modelTreeManager, this.context); this.ErrorsMarked(this, arg); return(arg.Handled); } return(false); }
private bool HandleErrorsMarked(ICollection<ValidationError> errors, ValidationReason reason) { if (this.ErrorsMarked != null) { ErrorsMarkedEventArgs arg = new ErrorsMarkedEventArgs(errors, reason, this.modelTreeManager, this.context); this.ErrorsMarked(this, arg); return arg.Handled; } return false; }