Пример #1
0
 internal static void InitializeIfNeeded()
 {
     if (serCmdInfos == null)
     {
         serCmdInfos = PersistenceUtility.ReadCommandInfo();
     }
 }
Пример #2
0
 public Scripting(string configurationFile, IPowerShellSupport powershell)
 {
     if (configurationFile != null)
     {
         _scriptingInfo = PersistenceUtility.ReadScriptingInfo(configurationFile);
         _scriptingInfo.ReadFiles();
     }
     _powershell = powershell;
 }