Exemple #1
0
        static public WonkaImportFactory GetInstance()
        {
            lock (mLock)
            {
                if (mInstance == null)
                {
                    mInstance = CreateInstance();
                }

                return(mInstance);
            }
        }
Exemple #2
0
        static private WonkaImportFactory CreateInstance()
        {
            lock (mLock)
            {
                if (mInstance == null)
                {
                    mInstance = new WonkaImportFactory();
                }

                return(mInstance);
            }
        }