/// /// Register external error not possible to check with attributes /// /// The object instance. /// The property to register. /// The error message. /// protected void RegisterValidationError(object instance, string validatorProperty, string errorMessage) { ErrorSummary summary = GetErrorSummary(instance); summary.RegisterErrorMessage(validatorProperty, errorMessage); validationSummaryPerInstance[instance] = summary; }