internal static void InitializeIfNeeded() { if (serCmdInfos == null) { serCmdInfos = PersistenceUtility.ReadCommandInfo(); } }
public Scripting(string configurationFile, IPowerShellSupport powershell) { if (configurationFile != null) { _scriptingInfo = PersistenceUtility.ReadScriptingInfo(configurationFile); _scriptingInfo.ReadFiles(); } _powershell = powershell; }