コード例 #1
0
ファイル: Client.cs プロジェクト: nekitozzz/synerdocs-sdk
        protected static PerformanceCounterInterceptorInserter GetPerformanceCounterInterceptorInserter(string[] operations)
        {
            if (performanceCounterInterceptorInserter == null)
            {
                lock (typeof(PerformanceCounterInterceptorInserter))
                {
                    if (performanceCounterInterceptorInserter == null)
                    {
                        performanceCounterInterceptorInserter = new PerformanceCounterInterceptorInserter(operations);
                    }
                }
            }

            return(performanceCounterInterceptorInserter);
        }
コード例 #2
0
ファイル: Client.cs プロジェクト: nekitozzz/synerdocs-sdk
        protected static PerformanceCounterInterceptorInserter GetPerformanceCounterInterceptorInserter(string[] operations)
        {
            if (performanceCounterInterceptorInserter == null)
            {
                lock (typeof(PerformanceCounterInterceptorInserter))
                {
                    if (performanceCounterInterceptorInserter == null)
                        performanceCounterInterceptorInserter = new PerformanceCounterInterceptorInserter(operations);
                }
            }

            return performanceCounterInterceptorInserter;
        }