コード例 #1
0
 public TradeHandler(IPixelBasedVariables pbv, IWindowManager windowManager, IMessageHandler messageHandler, IApplicationSettings applicationSettings)
 {
     CardsYouGet = new Dictionary<int, MagicCard>();
     CardsYouGive = new Dictionary<int, MagicCard>();
     _pbv = pbv;
     _windowManager = windowManager;
     _messageHandler = messageHandler;
     _applicationSettings = applicationSettings;
     _deckFileLocation = _applicationSettings.DeckFileLocation;
 }
コード例 #2
0
 public MessageHandler(IPixelBasedVariables pbv)
 {
     _pbv = pbv;
 }
コード例 #3
0
 public TradeFilterHandler(IPixelBasedVariables pbv)
 {
     _pbv = pbv;
     this.Reset();
 }
コード例 #4
0
 public void Initialize()
 {
     _screenLocations = IoC.Resolve<IPixelBasedVariables>();
 }
コード例 #5
0
 public WindowManager(IPixelBasedVariables pbv, IMessageHandler messageHandler)
 {
     _pbv = pbv;
     _messageHandler = messageHandler;
 }