public IInboundPerfomanceCounters GetInboundCounters(string instanceName)
        {
            TransactionalInboundPerformanceCounters counters;
            if (inboundCounters.TryGetValue(instanceName, out counters))
                return counters;

            lock (inboundCounters)
            {
                if (inboundCounters.TryGetValue(instanceName, out counters))
                    return counters;

                counters = new TransactionalInboundPerformanceCounters();
                inboundCounters.Add(instanceName, counters);

                return counters;
            }
        }
        public IInboundPerfomanceCounters GetInboundCounters(string instanceName)
        {
            TransactionalInboundPerformanceCounters counters;

            if (inboundCounters.TryGetValue(instanceName, out counters))
            {
                return(counters);
            }

            lock (inboundCounters)
            {
                if (inboundCounters.TryGetValue(instanceName, out counters))
                {
                    return(counters);
                }

                counters = new TransactionalInboundPerformanceCounters();
                inboundCounters.Add(instanceName, counters);

                return(counters);
            }
        }