Beispiel #1
0
        public InstrumentCounter Clone()
        {
            InstrumentCounter instrumentCounter = new InstrumentCounter(this.Instrument);

            this.CopyTo(instrumentCounter);
            return(instrumentCounter);
        }
Beispiel #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;
		}
Beispiel #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);
        }
Beispiel #4
0
		public InstrumentCounter Clone()
		{
			InstrumentCounter instrumentCounter = new InstrumentCounter(this.Instrument);
			this.CopyTo(instrumentCounter);
			return instrumentCounter;
		}
Beispiel #5
0
 public InstrumentCounterViewRow(InstrumentCounter counter) : base((EventCounter)counter, 1)
 {
     this.Cells[0].Value = counter.Instrument.Symbol;
 }
		public InstrumentCounterViewRow(InstrumentCounter counter) : base((EventCounter)counter, 1)
		{
			this.Cells[0].Value = counter.Instrument.Symbol;
		}