C# Class CQRSMicroservices.Web.Middleware.CommandMiddleware

Inheritance: Microsoft.Owin.OwinMiddleware
Show file Open project: AFASResearch/CQRS-Playground

Private Properties

Property Type Description
DeserializeFromBody CQRSMicroservices.Framework.Command

Public Methods

Method Description
CommandMiddleware ( Microsoft.Owin.OwinMiddleware next, Action exceptionHandler ) : System
Invoke ( IOwinContext context ) : System.Threading.Tasks.Task

Private Methods

Method Description
DeserializeFromBody ( Stream body ) : Command

Method Details

CommandMiddleware() public method

public CommandMiddleware ( Microsoft.Owin.OwinMiddleware next, Action exceptionHandler ) : System
next Microsoft.Owin.OwinMiddleware
exceptionHandler Action
return System

Invoke() public method

public Invoke ( IOwinContext context ) : System.Threading.Tasks.Task
context IOwinContext
return System.Threading.Tasks.Task