public DispatchResult Check(DispatchContext dispatchContext)
        {
            MessageDispatchContext <T> context;

            if (dispatchContext.TryGetContext(out context))
            {
                return(_predicate(context));
            }

            return(dispatchContext.Accept());
        }
 public DispatchResult Check(DispatchContext dispatchContext)
 {
     return dispatchContext.Accept();
 }
Exemple #3
0
 public DispatchResult Check(DispatchContext dispatchContext)
 {
     return(dispatchContext.Accept());
 }