コード例 #1
0
ファイル: InjectorConfig.cs プロジェクト: chinaboard/CoralSea
        public static InjectorConfig GetInstance()
        {
            if (instance == null)
            {
                lock (objLock)
                {
                    if (instance == null)
                    {
                        instance = new InjectorConfig();
                    }
                }
            }

            return instance;
        }
コード例 #2
0
        public static InjectorConfig GetInstance()
        {
            if (instance == null)
            {
                lock (objLock)
                {
                    if (instance == null)
                    {
                        instance = new InjectorConfig();
                    }
                }
            }

            return(instance);
        }