public TransfererBot(List<CardSet> setSearchOrder, TimeSpan maxTradeTime, string botName, string tradee, TransferModel transfer)
     : base(setSearchOrder, maxTradeTime, botName, tradee)
 {
     this.Transfer = transfer;
 }
 public void CompleteTransfer(TransferModel transfer)
 {
     var trans = dataContext.Transfers.Single(p => p.TransferId == transfer.Transfer.TransferId);
     trans.Completed = true;
     trans.TransferDate = DateTime.Now;
 }
 public void Setup(Transfer transfer)
 {
     _logger.Trace("Starting transfer setup");
     TransferModel = new TransferModel(transfer);
     AutoItX.MouseClick(_pbv.CollectionTab);
     _tradeFileHandler.ClearTradableCards(_applicationSettings.BotName);
     _tradeFileHandler.WriteTradeFile(TransferModel.Cards.Values.ToList());
     _tradeFileHandler.LoadTradableCards();
 }