示例#1
0
 public hangfireJobModel(IHostingEnvironment hostingEnvironment,
                         IPredictionService pService,
                         ILogger <ContactModel> logger, ILotteryResultService lotteryResultService)
 {
     this._hostingEnvironment  = hostingEnvironment;
     this._pService            = pService;
     this._logger              = logger;
     this.lotteryResultService = lotteryResultService;
 }
示例#2
0
 public TimedHostedService(ILogger <TimedHostedService> logger,
                           ILotteryResultService lotteryResultService,
                           IPredictionService predictionService,
                           Microsoft.AspNetCore.Hosting.IHostingEnvironment hostingEnvironment)
 {
     _logger = logger;
     this.lotteryResultService = lotteryResultService;
     this.predictionService    = predictionService;
     this._hostingEnvironment  = hostingEnvironment;
 }
示例#3
0
 public PrivacyModel(IHostingEnvironment hostingEnvironment,
                     ITrainingGroundService tgService,
                     ILogger <PrivacyModel> logger,
                     ILotteryResultService lotteryResultService)
 {
     this._hostingEnvironment  = hostingEnvironment;
     this._tgService           = tgService;
     this._logger              = logger;
     this.lotteryResultService = lotteryResultService;
 }