Exemplo n.º 1
0
 public JobFactoryService(ConfigService configService, RuriLibSettingsService settingsService, PluginRepository pluginRepo,
                          IHitRepository hitRepo, ProxySourceFactoryService proxySourceFactory, DataPoolFactoryService dataPoolFactory,
                          ProxyReloadService proxyReloadService, IRandomUAProvider randomUAProvider, IRNGProvider rngProvider, IJobLogger logger,
                          IProxyRepository proxyRepo)
 {
     this.configService      = configService;
     this.settingsService    = settingsService;
     this.pluginRepo         = pluginRepo;
     this.hitRepo            = hitRepo;
     this.proxySourceFactory = proxySourceFactory;
     this.dataPoolFactory    = dataPoolFactory;
     this.proxyReloadService = proxyReloadService;
     this.randomUAProvider   = randomUAProvider;
     this.rngProvider        = rngProvider;
     this.logger             = logger;
     this.proxyRepo          = proxyRepo;
 }
Exemplo n.º 2
0
 public HitService(IHitRepository repository, IDragonRepository dragonRepository, IHeroRepository heroRepository, IDataAdapter dataAdapter) : base(repository, dataAdapter)
 {
     _dragonRepository = dragonRepository;
     _heroRepository   = heroRepository;
 }
Exemplo n.º 3
0
 public UtmController(IHitRepository hitRepository)
 {
     _hitRepository = hitRepository;
     Max = int.Parse(ConfigurationManager.AppSettings["MaxResults"]);
 }
Exemplo n.º 4
0
 public HitOutputFactory(IHitRepository hitRepo)
 {
     this.hitRepo = hitRepo;
 }
Exemplo n.º 5
0
 public HitStorageService(IHitRepository hitRepo)
 {
     this.hitRepo = hitRepo;
     semaphore    = new SemaphoreSlim(1, 1);
 }
Exemplo n.º 6
0
 public LawController()
 {
     _tagRep = new TagRepository();
     _lawRep = new LawRepository();
     _hitRep = new HitRepository();
 }
Exemplo n.º 7
0
 public DatabaseHitOutput(IHitRepository hitRepo)
 {
     this.hitRepo = hitRepo;
 }
Exemplo n.º 8
0
 public P20QuestionController()
 {
     _p20Rep = new P20QuestionRepository();
     _hitRep = new HitRepository();
     _tagRep = new TagRepository();
 }
Exemplo n.º 9
0
 public DatabaseHitOutput(IHitRepository hitRepo)
 {
     this.hitRepo = hitRepo;
     semaphore    = new SemaphoreSlim(1, 1);
 }