Пример #1
0
        public InstrumentCounter Clone()
        {
            InstrumentCounter instrumentCounter = new InstrumentCounter(this.Instrument);

            this.CopyTo(instrumentCounter);
            return(instrumentCounter);
        }
Пример #2
0
		private InstrumentCounter GetInstrumentCounter(IFIXInstrument instrument)
		{
			InstrumentCounter instrumentCounter;
			if (!this.instrumentCounters.TryGetValue(instrument, out instrumentCounter))
			{
				instrumentCounter = new InstrumentCounter(instrument);
				this.instrumentCounters.Add(instrument, instrumentCounter);
			}
			return instrumentCounter;
		}
Пример #3
0
        private InstrumentCounter GetInstrumentCounter(IFIXInstrument instrument)
        {
            InstrumentCounter instrumentCounter;

            if (!this.instrumentCounters.TryGetValue(instrument, out instrumentCounter))
            {
                instrumentCounter = new InstrumentCounter(instrument);
                this.instrumentCounters.Add(instrument, instrumentCounter);
            }
            return(instrumentCounter);
        }
Пример #4
0
		public InstrumentCounter Clone()
		{
			InstrumentCounter instrumentCounter = new InstrumentCounter(this.Instrument);
			this.CopyTo(instrumentCounter);
			return instrumentCounter;
		}
Пример #5
0
 public InstrumentCounterViewRow(InstrumentCounter counter) : base((EventCounter)counter, 1)
 {
     this.Cells[0].Value = counter.Instrument.Symbol;
 }
Пример #6
0
		public InstrumentCounterViewRow(InstrumentCounter counter) : base((EventCounter)counter, 1)
		{
			this.Cells[0].Value = counter.Instrument.Symbol;
		}