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(); }
public PairPanelScrin1(ConnectedPairRepository connectedPairRepository) { this.connectedPairRepository = connectedPairRepository; ConnectedPairs = new ObservableCollection <ConnectedPairView>(); }
public ConnectedPairService(ConnectedPairRepository connectedPairRepository) { this.connectedPairRepository = connectedPairRepository; }