Beispiel #1
0
 public ShipFitTests()
 {
     this.doctrineShipsServices   = new DoctrineShipsServices(doctrineShipsRepository, eveDataSource, doctrineShipsValidation, logger);
     this.controller              = new SearchController(doctrineShipsServices);
     this.unitOfWork              = new UnitOfWork(new DoctrineShipsContext());
     this.eveDataSource           = new EveDataSourceCached(logger);
     this.doctrineShipsRepository = new DoctrineShipsRepository(unitOfWork);
     this.doctrineShipsValidation = new DoctrineShipsValidation(doctrineShipsRepository);
     this.shipFitManager          = new ShipFitManager(doctrineShipsRepository, eveDataSource, doctrineShipsValidation, logger);
     this.loggerStore             = new DoctrineShipsRepository(unitOfWork);
     this.logger = new SystemLogger(loggerStore);
 }
 public ShipFitTests()
 {
     this.doctrineShipsServices = new DoctrineShipsServices(doctrineShipsRepository, eveDataSource, doctrineShipsValidation, logger);
     this.controller = new SearchController(doctrineShipsServices);
     this.unitOfWork = new UnitOfWork(new DoctrineShipsContext());
     this.eveDataSource = new EveDataSourceCached(logger);
     this.doctrineShipsRepository = new DoctrineShipsRepository(unitOfWork);
     this.doctrineShipsValidation = new DoctrineShipsValidation(doctrineShipsRepository);
     this.shipFitManager = new ShipFitManager(doctrineShipsRepository, eveDataSource, doctrineShipsValidation, logger);
     this.loggerStore = new DoctrineShipsRepository(unitOfWork);
     this.logger = new SystemLogger(loggerStore);
 }
Beispiel #3
0
 public ContractCheckTests()
 {
     this.dateNow = DateTime.UtcNow;
     this.doctrineShipsServices   = new DoctrineShipsServices(this.doctrineShipsRepository, this.eveDataSource, this.doctrineShipsValidation, null, this.logger);
     this.controller              = new SearchController(this.doctrineShipsServices);
     this.unitOfWork              = new UnitOfWork(new DoctrineShipsContext());
     this.eveDataSource           = new EveDataSourceCached(this.logger);
     this.doctrineShipsRepository = new DoctrineShipsRepository(this.unitOfWork);
     this.contractCheck           = new ContractCheck(this.doctrineShipsRepository);
     this.doctrineShipsValidation = new DoctrineShipsValidation(this.doctrineShipsRepository);
     this.loggerStore             = new DoctrineShipsRepository(this.unitOfWork);
     this.logger = new SystemLogger(this.loggerStore);
 }
 public ContractCheckTests()
 {
     this.dateNow = DateTime.UtcNow;
     this.doctrineShipsServices = new DoctrineShipsServices(this.doctrineShipsRepository, this.eveDataSource, this.doctrineShipsValidation, this.logger);
     this.controller = new SearchController(this.doctrineShipsServices);
     this.unitOfWork = new UnitOfWork(new DoctrineShipsContext());
     this.eveDataSource = new EveDataSourceCached(this.logger);
     this.doctrineShipsRepository = new DoctrineShipsRepository(this.unitOfWork);
     this.contractCheck = new ContractCheck(this.doctrineShipsRepository);
     this.doctrineShipsValidation = new DoctrineShipsValidation(this.doctrineShipsRepository);
     this.loggerStore = new DoctrineShipsRepository(this.unitOfWork);
     this.logger = new SystemLogger(this.loggerStore);
 }
 public TaskController(IDoctrineShipsServices doctrineShipsServices, ISystemLogger logger)
 {
     this.doctrineShipsServices = doctrineShipsServices;
     this.logger = logger;
     this.taskKey = WebConfigurationManager.AppSettings["TaskKey"];
     this.corpApiId = Conversion.StringToInt32(WebConfigurationManager.AppSettings["CorpApiId"]);
     this.corpApiKey = WebConfigurationManager.AppSettings["CorpApiKey"];
     this.twitterAuth = new SingleUserAuthorizer
     {
         CredentialStore = new SingleUserInMemoryCredentialStore
         {
             ConsumerKey = WebConfigurationManager.AppSettings["TwitterConsumerKey"],
             ConsumerSecret = WebConfigurationManager.AppSettings["TwitterConsumerSecret"],
             AccessToken = WebConfigurationManager.AppSettings["TwitterAccessToken"],
             AccessTokenSecret = WebConfigurationManager.AppSettings["TwitterAccessTokenSecret"]
         }
     };
     this.twitterContext = new TwitterContext(this.twitterAuth);
 }
 public TaskController(IDoctrineShipsServices doctrineShipsServices, ISystemLogger logger)
 {
     this.doctrineShipsServices = doctrineShipsServices;
     this.logger = logger;
 }
 public KnowledgeBaseController(IDoctrineShipsServices doctrineShipsServices)
 {
     this.doctrineShipsServices = doctrineShipsServices;
 }
 public ShipFitController(IDoctrineShipsServices doctrineShipsServices)
 {
     this.doctrineShipsServices = doctrineShipsServices;
 }
 public SiteController(IDoctrineShipsServices doctrineShipsServices)
 {
     this.doctrineShipsServices = doctrineShipsServices;
 }
 public SalesAgentController(IDoctrineShipsServices doctrineShipsServices)
 {
     this.doctrineShipsServices = doctrineShipsServices;
 }
 public AccountController(IDoctrineShipsServices doctrineShipsServices)
 {
     this.doctrineShipsServices = doctrineShipsServices;
     this.secondKey = WebConfigurationManager.AppSettings["SecondKey"];
     this.websiteDomain = WebConfigurationManager.AppSettings["WebsiteDomain"];
 }
Beispiel #12
0
 public KnowledgeBaseController(IDoctrineShipsServices doctrineShipsServices)
 {
     this.doctrineShipsServices = doctrineShipsServices;
 }
 public AccountController(IDoctrineShipsServices doctrineShipsServices)
 {
     this.doctrineShipsServices = doctrineShipsServices;
 }
 public ToolsController(IDoctrineShipsServices doctrineShipsServices)
 {
     this.doctrineShipsServices = doctrineShipsServices;
     this.websiteDomain = WebConfigurationManager.AppSettings["WebsiteDomain"];
 }
 public SalesAgentController(IDoctrineShipsServices doctrineShipsServices)
 {
     this.doctrineShipsServices = doctrineShipsServices;
 }
Beispiel #16
0
 public TaskController(IDoctrineShipsServices doctrineShipsServices, ISystemLogger logger)
 {
     this.doctrineShipsServices = doctrineShipsServices;
     this.logger = logger;
 }