Пример #1
0
 public BooksController(INameGenerator nameGenerator, IOptions <BooksDemoDataOptions> options, TelemetryClient telemetryClient, ILogger <BooksController> logger)
 {
     this.telemetryClient = telemetryClient;
     this.nameGenerator   = nameGenerator;
     this.options         = options.Value;
     this.logger          = logger;
 }
 public BooksController(INameGenerator nameGenerator, IOptions<BooksDemoDataOptions> options, ILogger<BooksController> logger)
 {
     this.nameGenerator = nameGenerator;
     this.options = options.Value;
     this.logger = logger;
 }
Пример #3
0
 public BooksController(INameGenerator nameGenerator, IOptions<BooksDemoDataOptions> options, TelemetryClient telemetryClient)
 {
     this.telemetryClient = telemetryClient;
     this.nameGenerator = nameGenerator;
     this.options = options.Value;
 }
Пример #4
0
 public BooksController(INameGenerator nameGenerator, IOptions <BooksDemoDataOptions> options, ILogger <BooksController> logger)
 {
     this.nameGenerator = nameGenerator;
     this.options       = options.Value;
     this.logger        = logger;
 }