Esempio n. 1
0
        private static ScriptProcessor CreateProcessor()
        {
            var processor = new ScriptProcessor(_prototypeBuffer);

            ScriptContextManipulator.SetCallbackExecuteMethod(processor, ExecuteMethod);

            return(processor);
        }
Esempio n. 2
0
        private ScriptProcessor CreateProcessor()
        {
            if (_prototypeBuffer == null)
            {
                InitializePrototypeBuffer();
            }

            var processor = new ScriptProcessor(_prototypeBuffer);

            ScriptContextManipulator.SetCallbackExecuteMethod(processor, ExecuteMethod);

            return(processor);
        }