Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created January 6, 2017 01:37
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/701a0df2bef8c91de1f7c3486ba8eec1 to your computer and use it in GitHub Desktop.
Save dcomartin/701a0df2bef8c91de1f7c3486ba8eec1 to your computer and use it in GitHub Desktop.
public class MyPipeline<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse>
{
public async Task<TResponse> Handle(TRequest request, RequestHandlerDelegate<TResponse> next)
{
return await next();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment