Exemplo 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;
 }
Exemplo 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;
 }
Exemplo 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;
		}
Exemplo 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);
        }