Example #1
0
 public override ValidationResult Validate(ValidationContext <MessageWithValidator> context)
 {
     Assert.NotNull(context.Headers());
     Assert.NotNull(context.ContextBag());
     return(base.Validate(context));
 }