/// <summary>
 /// Relays the ValidationFalureEventArgs,
 /// calling the OnValidationFailure event.
 /// </summary>
 /// <notes>
 /// If the argument is null then 
 /// OnValidationFailure will not be called
 /// </notes>
 /// <param name="e"></param>
 public void ValidationFailureEventHandler(ValidationFailureEventArgs e)
 {
     if (OnValidationFailure != null)
     {
         OnValidationFailure(e);
     }
 }
Example #2
0
File: Slush.cs Project: brson/slush
 public static void ValidationFailureEventHandler(ValidationFailureEventArgs e)
 {
     Console.WriteLine(e.Failure.ValidationType + ": " + e.Failure.Details);
 }