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