Example #1
0
 public EventMonitorWindow()
 {
     this.InitializeComponent();
     this.counter               = new TotalCounter();
     this.providerCounterRows   = new Dictionary <IProvider, ProviderCounterViewRow>();
     this.instrumentCounterRows = new Dictionary <IFIXInstrument, InstrumentCounterViewRow>();
     this.selectedProvider      = (IProvider)null;
 }
Example #2
0
 public EventMonitorWindow()
 {
     this.InitializeComponent();
     this.counter = new TotalCounter();
     this.providerCounterRows = new Dictionary<IProvider, ProviderCounterViewRow>();
     this.instrumentCounterRows = new Dictionary<IFIXInstrument, InstrumentCounterViewRow>();
     this.selectedProvider = (IProvider)null;
 }
Example #3
0
		public TotalCounter GetSnapshot()
		{
			TotalCounter totalCounter = new TotalCounter();
			lock (this.lockObject)
			{
				this.CopyTo((EventCounter)totalCounter);
				foreach (ProviderCounter item_0 in (IEnumerable<ProviderCounter>) this.ProviderCounters)
					totalCounter.providerCounters.Add(item_0.Provider, item_0.Clone());
			}
			return totalCounter;
		}
Example #4
0
        public TotalCounter GetSnapshot()
        {
            TotalCounter totalCounter = new TotalCounter();

            lock (this.lockObject)
            {
                this.CopyTo((EventCounter)totalCounter);
                foreach (ProviderCounter item_0 in (IEnumerable <ProviderCounter>) this.ProviderCounters)
                {
                    totalCounter.providerCounters.Add(item_0.Provider, item_0.Clone());
                }
            }
            return(totalCounter);
        }