Esempio n. 1
0
 /// <summary>
 /// Called when the object is validating the business rules.
 /// </summary>
 protected virtual void OnValidatingBusinessRules()
 {
     ValidatingBusinessRules.SafeInvoke(this);
 }
Esempio n. 2
0
 /// <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);
 }