protected static PerformanceCounterInterceptorInserter GetPerformanceCounterInterceptorInserter(string[] operations) { if (performanceCounterInterceptorInserter == null) { lock (typeof(PerformanceCounterInterceptorInserter)) { if (performanceCounterInterceptorInserter == null) { performanceCounterInterceptorInserter = new PerformanceCounterInterceptorInserter(operations); } } } return(performanceCounterInterceptorInserter); }
protected static PerformanceCounterInterceptorInserter GetPerformanceCounterInterceptorInserter(string[] operations) { if (performanceCounterInterceptorInserter == null) { lock (typeof(PerformanceCounterInterceptorInserter)) { if (performanceCounterInterceptorInserter == null) performanceCounterInterceptorInserter = new PerformanceCounterInterceptorInserter(operations); } } return performanceCounterInterceptorInserter; }