예제 #1
0
 public WakaHarvestFunction(IWakaTimeService wakaTimeService, IHarvestService harvestService,
                            IOptions <UserOptions> userOptions)
 {
     _wakaTimeService = wakaTimeService ?? throw new ArgumentException(nameof(IWakaTimeService));
     _harvestService  = harvestService ?? throw new ArgumentNullException(nameof(IHarvestService));
     _projects        = userOptions.Value.Projects;
 }
예제 #2
0
 public BeehiveController(
     IApiaryService apiaryService,
     IApiaryHelperService apiaryHelperService,
     UserManager <ApplicationUser> userManager,
     IBeehiveHelperService beehiveHelperService,
     IBeehiveService beehiveService,
     IQueenService queenService,
     IHarvestService harvestService,
     ITreatmentService treatmentService,
     IInspectionService inspectionService,
     IQueenHelperService queenHelperService,
     IExcelExportService excelExportService,
     ITemporaryApiaryBeehiveService temporaryApiaryBeehiveService,
     IBeehiveMarkFlagService beehiveMarkFlagService)
 {
     this.apiaryService                 = apiaryService;
     this.apiaryHelperService           = apiaryHelperService;
     this.userManager                   = userManager;
     this.beehiveHelperService          = beehiveHelperService;
     this.beehiveService                = beehiveService;
     this.queenService                  = queenService;
     this.harvestService                = harvestService;
     this.treatmentService              = treatmentService;
     this.inspectionService             = inspectionService;
     this.queenHelperService            = queenHelperService;
     this.excelExportService            = excelExportService;
     this.temporaryApiaryBeehiveService = temporaryApiaryBeehiveService;
     this.beehiveMarkFlagService        = beehiveMarkFlagService;
 }
예제 #3
0
 public HarvestController(
     UserManager<ApplicationUser> userManager,
     IHarvestService harvestService,
     IApiaryService apiaryService,
     IBeehiveService beehiveService,
     IExcelExportService excelExportService,
     IBeehiveHelperService beehiveHelperService)
 {
     this.userManager = userManager;
     this.harvestService = harvestService;
     this.apiaryService = apiaryService;
     this.beehiveService = beehiveService;
     this.excelExportService = excelExportService;
     this.beehiveHelperService = beehiveHelperService;
 }
예제 #4
0
 public ExcelExportService(
     IApiaryService apiaryService,
     IBeehiveService beehiveService,
     IHarvestService harvestService,
     IInspectionService inspectionService,
     ITreatmentService treatmentService,
     IEnumerationMethodsService enumerationMethodsService)
 {
     this.apiaryService             = apiaryService;
     this.beehiveService            = beehiveService;
     this.harvestService            = harvestService;
     this.inspectionService         = inspectionService;
     this.treatmentService          = treatmentService;
     this.enumerationMethodsService = enumerationMethodsService;
 }
예제 #5
0
 public HomeController(
     UserManager <ApplicationUser> userManager,
     IApiaryService apiaryService,
     IBeehiveService beehiveService,
     IQueenService queenService,
     ITreatmentService treatmentService,
     IInspectionService inspectionService,
     IHarvestService harvestService,
     IQuickChartService quickChartService,
     IEmailSender emailSender,
     IConfiguration configuration)
 {
     this.userManager       = userManager;
     this.apiaryService     = apiaryService;
     this.beehiveService    = beehiveService;
     this.queenService      = queenService;
     this.treatmentService  = treatmentService;
     this.inspectionService = inspectionService;
     this.harvestService    = harvestService;
     this.quickChartService = quickChartService;
     this.emailSender       = emailSender;
     this.configuration     = configuration;
 }
예제 #6
0
 public BeehiveService(
     IRepository <BeehiveHelper> beehiveHelperRepository,
     IRepository <ApiaryHelper> apiaryHelperRepository,
     IRepository <QueenHelper> queenHelperRepository,
     IDeletableEntityRepository <Beehive> beehiveRepository,
     IDeletableEntityRepository <Queen> queenRepository,
     IDeletableEntityRepository <Inspection> inspectionRepository,
     IDeletableEntityRepository <Treatment> treatmentRepository,
     IRepository <TreatedBeehive> treatedBeehiveRepository,
     IDeletableEntityRepository <Harvest> harvestRepository,
     IRepository <HarvestedBeehive> harvestedBeehiveRepository,
     ITemporaryApiaryBeehiveService temporaryApiaryBeehiveService,
     IQueenService queenService,
     IInspectionService inspectionService,
     ITreatmentService treatmentService,
     IHarvestService harvestService,
     IDeletableEntityRepository <BeehiveDiary> beehiveDiaryRepository,
     IDeletableEntityRepository <TemporaryApiaryBeehive> temporaryApiaryBeehiveRepository)
 {
     this.beehiveHelperRepository       = beehiveHelperRepository;
     this.apiaryHelperRepository        = apiaryHelperRepository;
     this.queenHelperRepository         = queenHelperRepository;
     this.beehiveRepository             = beehiveRepository;
     this.queenRepository               = queenRepository;
     this.inspectionRepository          = inspectionRepository;
     this.treatmentRepository           = treatmentRepository;
     this.treatedBeehiveRepository      = treatedBeehiveRepository;
     this.harvestRepository             = harvestRepository;
     this.harvestedBeehiveRepository    = harvestedBeehiveRepository;
     this.temporaryApiaryBeehiveService = temporaryApiaryBeehiveService;
     this.queenService                     = queenService;
     this.inspectionService                = inspectionService;
     this.treatmentService                 = treatmentService;
     this.harvestService                   = harvestService;
     this.beehiveDiaryRepository           = beehiveDiaryRepository;
     this.temporaryApiaryBeehiveRepository = temporaryApiaryBeehiveRepository;
 }
예제 #7
0
 public HarvestAppService(IHarvestService service) : base(service)
 {
     _appService = service;
 }