public override Task Call(FooCallData data) { var env = data.Environment; return(_next.Invoke(env)); }
public override Task Call(FooCallData data) { data.Environment.Add("Alpha", "Alpha"); return _next.Call(data); }
public Task Invoke(IDictionary<string, object> env) { var data = new FooCallData() { Environment = env }; return _next.Call(data); }
public abstract Task Call(FooCallData data);
public override Task Call(FooCallData data) { var env = data.Environment; return _next.Invoke(env); }