public LocationMiddleware(RequestDelegate nextRequestDelegate, IOptions <MessageOptions> msgOptions)
 {
     next           = nextRequestDelegate;
     messageOptions = msgOptions.Value;
 }
 public QueryStringMiddleWare(RequestDelegate nextDelegate, IOptions <MessageOptions> msgOption)
 {
     next    = nextDelegate;
     options = msgOption.Value;
 }
Example #3
0
 public LocationMiddleWare(RequestDelegate nextDelegate, IOptions <MessageOptions> opts)
 {
     next    = nextDelegate;
     options = opts.Value;
 }
Example #4
0
 public LocationMiddleware(RequestDelegate nextDelegate, IOptions <MessageOptions> options)
 {
     _nextDelegate = nextDelegate;
     _options      = options.Value;
 }