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