public void ExamineCollection() { TradeHandler tradeHandler = new TradeHandler(); var cards = tradeHandler.ExamineCollection(); foreach (var magicCard in cards) { Console.WriteLine(magicCard); } }
public void DetermineCardsYouGive() { TradeHandler tradeHandler = new TradeHandler(); tradeHandler.DetermineCardsYouGive(); }
public void TradeHandlerCardSegments() { var tradeHandler = new TradeHandler(); string cardName; int cardNumber; string cardSet; int length; var cardSegments = tradeHandler.CardSegments("Shrine of Limitless Powerl NPH", out cardName, out cardNumber, out cardSet, out length); Console.Out.WriteLine(string.Join(",",cardSegments.ToArray())); MagicCard card = IoC.Resolve<IMagicCardList>().GetCard(cardName, cardSet); Console.Out.WriteLine(card); cardSegments = tradeHandler.CardSegments("Event Ticket 18", out cardName, out cardNumber, out cardSet, out length); Console.Out.WriteLine(string.Join(",", cardSegments.ToArray())); card = IoC.Resolve<IMagicCardList>().GetCard(cardName, cardSet); Console.Out.WriteLine(card); }
public void PostClassifiedMessage() { TradeHandler mtgoGui = new TradeHandler(); mtgoGui.DetermineCardsYouGet(); foreach (MagicCard magicCard in mtgoGui.CardsYouGet.Values) { Console.WriteLine(magicCard); } }
public void MoveTypeColumns() { TradeHandler guiInteraction = new TradeHandler(); guiInteraction.MoveTypeColumn( _screenLocations.YouGetTypeColumnStartPosition, _screenLocations.YouGetTypeColumnEndPosition); guiInteraction.MoveTypeColumn( _screenLocations.YouGiveTypeColumnStartPosition, _screenLocations.YouGiveTypeColumnEndPosition); }
public void ExamineYouGiveCardsOnConfirmedScreen() { TradeHandler tradeHandler = new TradeHandler(); var cards = tradeHandler.ExamineYouGiveCardsOnConfirmedScreen(); foreach (var magicCard in cards) { Console.WriteLine(magicCard); } }