internal void SetQuotation(QuotationsMessage message) { foreach (GeneralQuotation generalQuotation in message.Quotations) { VmInstrument vmInstrument = this._Instruments.SingleOrDefault(i => i.Id == generalQuotation.InstrumentId); if (vmInstrument != null) { vmInstrument.SetQuotation(generalQuotation, vmInstrument.DecimalPlace); } } }
internal void Process(QuotationsMessage message) { VmQuotationManager.Instance.SetQuotation(message); }
internal void SetQuotation(QuotationsMessage message) { foreach (GeneralQuotation generalQuotation in message.Quotations) { VmInstrument vmInstrument = this._Instruments.SingleOrDefault(i => i.Id == generalQuotation.InstrumentId); if (vmInstrument != null) { vmInstrument.SetQuotation(generalQuotation, vmInstrument.DecimalPlace); } } }
private void Process(QuotationsMessage message) { this._QuotationMessageProcessor.Process(message); }