コード例 #1
0
 public HomeController(IWeedService weedService, DefaultStorage defaultStorage, IDistributedCache defaultCache, ILogger <HomeController> logger) : base(defaultStorage, defaultCache, logger)
 {
     this.weedService = weedService;
     if (this.weedService.OnUpload == null)
     {
         this.weedService.OnUpload += OnUpload;
     }
 }
コード例 #2
0
 public DataProvider(IFieldService fieldService, IPestService pestService, IWeedService weedService)
 {
     _fieldService = fieldService;
     _pestService  = pestService;
     _weedService  = weedService;
 }
コード例 #3
0
 public WeedController(IWeedService weedService, IMapper mapper)
 {
     _weedService = weedService;
     _mapper      = mapper;
 }