public CurrencyPairViewModel(CurrencyPairInfo currencyPairInfo, ICurrencyPairUpdatePublisher currencyPairUpdatePublisher)
 {
     _currencyPairInfo = currencyPairInfo;
     _currencyPairUpdatePublisher = currencyPairUpdatePublisher;
     Symbol = currencyPairInfo.CurrencyPair.Symbol;
     Available = currencyPairInfo.Enabled;
     Stale = currencyPairInfo.Stale;
     Comment = currencyPairInfo.Comment;
 }
        public CurrencyPairViewModel(CurrencyPairInfo currencyPairInfo, ICurrencyPairUpdatePublisher currencyPairUpdatePublisher)
        {
            _currencyPairInfo = currencyPairInfo;
            _currencyPairUpdatePublisher = currencyPairUpdatePublisher;
            Symbol = currencyPairInfo.CurrencyPair.Symbol;
            Available = currencyPairInfo.Enabled;
            Stale = currencyPairInfo.Stale;
            Comment = currencyPairInfo.Comment;

            _subscription.Disposable = this.ObserveProperty(p => p.Available)
                .Subscribe(SetAvailability);
        }