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

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

            return(instance);
        }