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(); }
public DispatchResult Check(DispatchContext dispatchContext) { return(dispatchContext.Accept()); }