Ejemplo n.º 1
0
 public CustomersController(ICustomerService dataRepositoryService, IWeatherManager weatherManager,
                            IClientConfiguration clientConfiguration, ILogger <CustomersController> logger, IServiceDataProtection dataProtection)
 {
     _dataService         = dataRepositoryService;
     _weatherManager      = weatherManager;
     _clientConfiguration = clientConfiguration;
     _logger         = logger;
     _dataProtection = dataProtection;
 }
Ejemplo n.º 2
0
 public LoggerMiddleware(RequestDelegate next, ILoggerFactory loggerFactory, IServiceDataProtection dataProtection)
 {
     _next           = next;
     _logger         = loggerFactory.CreateLogger <LoggerMiddleware>();
     _dataProtection = dataProtection;
 }
Ejemplo n.º 3
0
 public ProcessManager(ICustomerService customerService, ILogger <ProcessManager> logger, IServiceDataProtection dataProtection)
 {
     _customerService = customerService;
     _logger          = logger;
     _dataProtection  = dataProtection;
 }