Exemple #1
0
        public AirTeamService(IDistributedCache cache, IAirTeamHttpClient httpClient, IHtmlParseService htmlParserService, IOptions <AirTeamSetting> airTeamSetting)
        {
            if (airTeamSetting == null)
            {
                throw new ArgumentNullException(nameof(airTeamSetting));
            }

            _AirTeamHttpClient = httpClient;
            _HtmlParserService = htmlParserService;
            _Cache             = cache;
            _AirTeamSetting    = airTeamSetting.Value;
        }
 private void InitServices()
 {
     if (_factoryNetwork != null)
     {
         _parseService     = _factoryNetwork.CreateHtmlParseService();
         _seleniumService  = _factoryNetwork.CreateSeleniumService();
         _recordingService = _factoryNetwork.CreateRecordingService();
     }
     else
     {
         throw new Exception("Инициализация фабрики сетей не выполнена");
     }
 }
Exemple #3
0
 public SomeImplService(IHtmlParseService htmlParseService, IMongoRepository repository, IEventService eventService, ILogService logService, ISeatService seatService, ISaleService saleService) : base(htmlParseService, repository, eventService, logService, seatService, saleService)
 {
     _eventUrl =    /*HIDDEN*/
 }