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();
}