Example #1
0
        public ScriptFile()
        {
            Context = new ScriptContext(this);
            root    = new RootScriptCommand();

            tempCommandStack = new Stack <IScriptCommand>();

            registeredCommand = ScriptCommandRegister.Instance.RegisteredCommand;
        }
Example #2
0
        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);
        }