public void Handle(IMiddlewareContext context) { if (_IsCompatible <TAction>(context.Action)) { _middleware.Handle(new MiddlewareContextAdapter <TAction>(context)); } else { context.Next(); } }
public void Next(object action) => _context.Next(action);