public MyService(IOptions <MyOptions> optionsAccessor
                  , ILogger <MyService> logger)
 {
     myOptions   = optionsAccessor.Value;
     this.logger = logger;
 }
Exemple #2
0
 public MyService(IOptions <MyOptions> optionsAccessor)
 {
     myOptions = optionsAccessor.Value;
 }