예제 #1
0
 public CurrentTrades(ConnectedPairRepository connectedPairRepository)
 {
     this.connectedPairRepository = connectedPairRepository;
     GetPairs();
     previosPrices     = new Dictionary <string, double>();
     MessageEvent      = delegate { };
     ConnectStateEvent = delegate { };
     ConnectEvent      = delegate { };
     LastPriceEvent    = delegate { };
     timer             = new Timer(30000);
     timer.Elapsed    += Timer_Elapsed;
     timer.Start();
 }
예제 #2
0
 public PairPanelScrin1(ConnectedPairRepository connectedPairRepository)
 {
     this.connectedPairRepository = connectedPairRepository;
     ConnectedPairs = new ObservableCollection <ConnectedPairView>();
 }
예제 #3
0
 public ConnectedPairService(ConnectedPairRepository connectedPairRepository)
 {
     this.connectedPairRepository = connectedPairRepository;
 }