Beispiel #1
0
        public static InjectorConfig GetInstance()
        {
            if (instance == null)
            {
                lock (objLock)
                {
                    if (instance == null)
                    {
                        instance = new InjectorConfig();
                    }
                }
            }

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

            return(instance);
        }