Init() static private method

static private Init ( ) : void
return void
Exemplo n.º 1
0
        public CommonCmdletBase()
        {
            if (UnitTestMode || ModuleAlreadyLoaded)
            {
                return;
            }
            DataFactory.AutofacModule = new DataModule();

            DataFactory.Init();

            ModuleAlreadyLoaded = true;

            /*
             * if (!UnitTestMode && !ModuleAlreadyLoaded)
             * {
             *
             *  DataFactory.AutofacModule = new DataModule();
             *
             *  DataFactory.Init();
             *
             *  ModuleAlreadyLoaded = true;
             * }
             */

            //CurrentData.Init();
        }