public ScriptFile() { Context = new ScriptContext(this); root = new RootScriptCommand(); tempCommandStack = new Stack <IScriptCommand>(); registeredCommand = ScriptCommandRegister.Instance.RegisteredCommand; }
public ScriptFile(string scriptFileName) { Context = new ScriptContext(this); root = new RootScriptCommand(); tempCommandStack = new Stack <IScriptCommand>(); registeredCommand = ScriptCommandRegister.Instance.RegisteredCommand; FileName = scriptFileName; Parse(ResourceGroupManager.DEFAULT_RESOURCE_GROUP_NAME); }