GlueView.Scripting.CodeContext.AddVariableStack C# (CSharp) Метод

AddVariableStack() публичный Метод

public AddVariableStack ( ) : void
Результат void
        public void AddVariableStack()
        {
            mScopedVariables.Add(new Dictionary<string, object>());
        }

Usage Example

Пример #1
0
        private void Apply_Click(object sender, EventArgs e)
        {
            mIsUpdateTextDirty = true;

            if (ResetOnApplyCheckBox.Checked)
            {
                ResetClick(null, null);
            }

            mClassLevelCodeContext = new CodeContext(null);

            try
            {
                ApplyRichTextBoxScript(ClassScopeTextBox);
            }
            catch
            {
                MessageBox.Show("Error parsing Class Scope script");
            }

            try
            {
                mClassLevelCodeContext.AddVariableStack();
                ApplyRichTextBoxScript(InitializeTextBox);

                mClassLevelCodeContext.RemoveVariableStack();
            }
            catch
            {
                MessageBox.Show("Error parsing Initialize script");
            }
        }
All Usage Examples Of GlueView.Scripting.CodeContext::AddVariableStack