Esempio n. 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;
 }
Esempio n. 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;
 }
Esempio n. 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;
		}
Esempio n. 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);
        }