Пример #1
0
 /// <summary>
 /// Called when the object has validated the business rules.
 /// </summary>
 protected virtual void OnValidatedBusinessRules()
 {
     ValidatedBusinessRules.SafeInvoke(this);
 }
Пример #2
0
 /// <summary>
 /// Called when the object has validated the business rules.
 /// </summary>
 /// <param name="validationContext">The validation context.</param>
 protected virtual void OnValidatedBusinessRules(IValidationContext validationContext)
 {
     ValidatedBusinessRules.SafeInvoke(this);
 }