public FileController(IXmlParserService xmlParserService, ICsvParserService csvParserService, ITransactionService transactionService, IMapper mapper) { _xmlParserService = xmlParserService; _csvParserService = csvParserService; _transactionService = transactionService; _mapper = mapper; }
public DataManager(IXmlParserService xmlParserService, IMatchesService matchesService, IBetsService betsService, IOddsService oddsService) { Guard.WhenArgument(xmlParserService, nameof(xmlParserService)).IsNull().Throw(); Guard.WhenArgument(matchesService, nameof(matchesService)).IsNull().Throw(); Guard.WhenArgument(betsService, nameof(betsService)).IsNull().Throw(); Guard.WhenArgument(oddsService, nameof(oddsService)).IsNull().Throw(); this.xmlParserService = xmlParserService; this.matchesService = matchesService; this.betsService = betsService; this.oddsService = oddsService; this.xmlMatches = this.xmlParserService.GetMatches(Constants.BaseUrl).ToList(); this.existMatchXmlIds = this.GetExistMatchXmlIds(this.xmlMatches); }
public HandlerController(IDepartmentService departmentService, IParcelHandlerService handlerService, IXmlParserService xmlParserService) { _departmentService = departmentService; _handlerService = handlerService; _xmlParserService = xmlParserService; }
public HomeController(IXmlParserService parserService, IOrdersService ordersService) { ParserService = parserService; OrdersService = ordersService; }
public Form1() { _xmlParserService = new XmlParserManager(new EfMerkezYurticiDal(), new EfMerkezYurtdisiDal()); InitializeComponent(); }
public HomeController(IXmlParserService xmlParser) { this._xmlParser = xmlParser; }