コード例 #1
0
 public LocationMiddleware(RequestDelegate nextRequestDelegate, IOptions <MessageOptions> msgOptions)
 {
     next           = nextRequestDelegate;
     messageOptions = msgOptions.Value;
 }
コード例 #2
0
 public QueryStringMiddleWare(RequestDelegate nextDelegate, IOptions <MessageOptions> msgOption)
 {
     next    = nextDelegate;
     options = msgOption.Value;
 }
コード例 #3
0
 public LocationMiddleWare(RequestDelegate nextDelegate, IOptions <MessageOptions> opts)
 {
     next    = nextDelegate;
     options = opts.Value;
 }
コード例 #4
0
ファイル: Middleware.cs プロジェクト: tien199013/Platform
 public LocationMiddleware(RequestDelegate nextDelegate, IOptions <MessageOptions> options)
 {
     _nextDelegate = nextDelegate;
     _options      = options.Value;
 }