public Startup(IDowntimeRepository repository, DowntimeRepositoryMapper mapper, ILogger <Startup> logger) { this.repository = repository; this.mapper = mapper; this.logger = logger; logger.LogInformation("Hola mundo info"); logger.LogError("Hola mundo error"); logger.LogWarning("Hola mundo warning"); }
public DowntimeApplicationService( IDowntimeRepository repository, ILogger <DowntimeApplicationService> logger, TransactionItems <string> items) { this.repository = repository; this.logger = logger; this.items = items; logger.LogInformation("Hola mundo info"); logger.LogError("Hola mundo error"); logger.LogWarning("Hola mundo warning"); }
public OeeService( IProductionService productionService, IScrapService scrapService, IDowntimeRepository downtimeRepository, FmsbOeeContext fmsbOeeContext ) { _productionService = productionService ?? throw new ArgumentNullException(nameof(productionService)); _scrapService = scrapService ?? throw new ArgumentNullException(nameof(scrapService)); _downtimeRepository = downtimeRepository ?? throw new ArgumentNullException(nameof(downtimeRepository)); _fmsbOeeContext = fmsbOeeContext ?? throw new ArgumentNullException(nameof(fmsbOeeContext)); }
public DowntimeService(IDowntimeRepository repository, IKpiTargetService kpiTargetService) { _repository = repository; _kpiTargetService = kpiTargetService; }