Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created January 27, 2017 02:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dcomartin/ef02af052c3352ca15381b764fba56c7 to your computer and use it in GitHub Desktop.
Save dcomartin/ef02af052c3352ca15381b764fba56c7 to your computer and use it in GitHub Desktop.
public interface IDelegatingHandler
{
Task<object> Handle(INextHandler next, object message);
}
public interface IPipelineHandler
{
Task<object> Handle(Func<IMessage, Task<object>> next, IMessage message);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment