private void SetBaseProperties(TickerBase tickerBase) { base.BaseVolume = tickerBase.BaseVolume; base.High = tickerBase.High; base.High24h = tickerBase.High24h; base.IsFrozen = tickerBase.IsFrozen; base.Last = tickerBase.Last; base.Low = tickerBase.Low; base.Low24h = tickerBase.Low24h; base.PairId = tickerBase.PairId; base.PercentChange = tickerBase.PercentChange; base.Price24h = tickerBase.Price24h; base.QuoteVolume = tickerBase.QuoteVolume; base.Updated = tickerBase.Updated; }
public Ticker(TickerBase tickerBase) { SetBaseProperties(tickerBase); }
public Ticker(string pair, TickerBase tickerBase) { Pair = pair; SetBaseProperties(tickerBase); }