Exemple #1
0
        public void ApplyLines(string script, CodeContext codeContext = null)
        {
            lock (mStringsToApply)
            {
                ScriptAndContext toAdd = new ScriptAndContext();
                toAdd.Script  = script;
                toAdd.Context = codeContext;

                mStringsToApply.Add(toAdd);
            }
        }
        public void ApplyLines(string script, CodeContext codeContext = null)
        {
            lock (mStringsToApply)
            {
                ScriptAndContext toAdd = new ScriptAndContext();
                toAdd.Script = script;
                toAdd.Context = codeContext;

                mStringsToApply.Add(toAdd);
            }
        }