/// <summary> /// Called when the object is validating the business rules. /// </summary> protected virtual void OnValidatingBusinessRules() { ValidatingBusinessRules.SafeInvoke(this); }
/// <summary> /// Called when the object is validating the business rules. /// </summary> /// <param name="validationContext">The validation context.</param> protected virtual void OnValidatingBusinessRules(IValidationContext validationContext) { ValidatingBusinessRules.SafeInvoke(this); }