Esempio n. 1
0
 /// <summary>
 /// Initialises a new instance of a Customer Manager.
 /// </summary>
 /// <param name="doctrineShipsRepository">An IDoctrineShipsRepository instance.</param>
 /// <param name="eveDataSource">An IEveDataSource instance.</param>
 /// <param name="doctrineShipsValidation">An IDoctrineShipsValidation instance.</param>
 /// <param name="logger">An ISystemLogger logger instance.</param>
 internal CustomerManager(IDoctrineShipsRepository doctrineShipsRepository, IEveDataSource eveDataSource, IDoctrineShipsValidation doctrineShipsValidation, ISystemLogger logger)
 {
     this.doctrineShipsRepository = doctrineShipsRepository;
     this.eveDataSource           = eveDataSource;
     this.doctrineShipsValidation = doctrineShipsValidation;
     this.logger = logger;
 }
 /// <summary>
 /// Initialises a new instance of a Sales Agent Manager.
 /// </summary>
 /// <param name="doctrineShipsRepository">An IDoctrineShipsRepository instance.</param>
 /// <param name="eveDataSource">An IEveDataSource instance.</param>
 /// <param name="doctrineShipsValidation">An IDoctrineShipsValidation instance.</param>
 /// <param name="logger">An ISystemLogger logger instance.</param>
 internal SalesAgentManager(IDoctrineShipsRepository doctrineShipsRepository, IEveDataSource eveDataSource, IDoctrineShipsValidation doctrineShipsValidation, ISystemLogger logger)
 {
     this.doctrineShipsRepository = doctrineShipsRepository;
     this.eveDataSource = eveDataSource;
     this.doctrineShipsValidation = doctrineShipsValidation;
     this.logger = logger;
 }
 /// <summary>
 /// Initialises a new instance of Doctrine Ships Services.
 /// </summary>
 /// <param name="doctrineShipsRepository">An IDoctrineShipsRepository instance.</param>
 /// <param name="eveDataSource">An IEveDataSource instance.</param>
 /// <param name="doctrineShipsValidation">An IDoctrineShips Validation instance.</param>
 /// <param name="logger">An ISystemLogger logger instance.</param>
 public DoctrineShipsServices(IDoctrineShipsRepository doctrineShipsRepository, IEveDataSource eveDataSource, IDoctrineShipsValidation doctrineShipsValidation, ISystemLogger logger)
 {
     this.doctrineShipsRepository = doctrineShipsRepository;
     this.eveDataSource = eveDataSource;
     this.doctrineShipsValidation = doctrineShipsValidation;
     this.logger = logger;
 }
 /// <summary>
 /// Initialises a new instance of Doctrine Ships Services.
 /// </summary>
 /// <param name="doctrineShipsRepository">An IDoctrineShipsRepository instance.</param>
 /// <param name="eveDataSource">An IEveDataSource instance.</param>
 /// <param name="doctrineShipsValidation">An IDoctrineShips Validation instance.</param>
 /// <param name="logger">An ISystemLogger logger instance.</param>
 public DoctrineShipsServices(IDoctrineShipsRepository doctrineShipsRepository, IEveDataSource eveDataSource, IDoctrineShipsValidation doctrineShipsValidation, IDoctrineShipsSettings doctrineShipsSettings, ISystemLogger logger)
 {
     this.doctrineShipsRepository = doctrineShipsRepository;
     this.eveDataSource           = eveDataSource;
     this.doctrineShipsValidation = doctrineShipsValidation;
     this.doctrineShipsSettings   = doctrineShipsSettings;
     this.logger = logger;
 }
 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);
 }
Esempio n. 6
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);
 }
Esempio n. 7
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);
 }
 /// <summary>
 /// Initialises a new instance of an Article Manager.
 /// </summary>
 /// <param name="doctrineShipsRepository">An IDoctrineShipsRepository instance.</param>
 /// <param name="doctrineShipsValidation">An IDoctrineShipsValidation instance.</param>
 /// <param name="logger">An ISystemLogger logger instance.</param>
 internal ArticleManager(IDoctrineShipsRepository doctrineShipsRepository, IDoctrineShipsValidation doctrineShipsValidation, ISystemLogger logger)
 {
     this.doctrineShipsRepository = doctrineShipsRepository;
     this.doctrineShipsValidation = doctrineShipsValidation;
     this.logger = logger;
 }
Esempio n. 10
0
 /// <summary>
 /// Initialises a new instance of a Task Manager.
 /// </summary>
 /// <param name="doctrineShipsRepository">An IDoctrineShipsRepository instance.</param>
 /// <param name="doctrineShipsValidation">An IDoctrineShipsValidation instance.</param>
 /// <param name="logger">An ISystemLogger logger instance.</param>
 internal TaskManager(IDoctrineShipsRepository doctrineShipsRepository, IDoctrineShipsValidation doctrineShipsValidation, ISystemLogger logger)
 {
     this.doctrineShipsRepository = doctrineShipsRepository;
     this.doctrineShipsValidation = doctrineShipsValidation;
     this.logger = logger;
 }