Esempio n. 1
0
 public RequestMiddleware(RequestDelegate next, ILogger logger, IOptions <OAuthSettings> oAuthSettings, IOptions <IgnitionConfigurations> ignitionSettings)
 {
     _next             = next;
     _logger           = logger;
     _oAuthSettings    = oAuthSettings.Value;
     _ignitionSettings = ignitionSettings.Value;
 }
Esempio n. 2
0
 public IgnitionService(ILogger logger, IOptions <IgnitionConfigurations> ignitionSettings)
 {
     _logger           = logger;
     _ignitionSettings = ignitionSettings.Value;
 }