private static ScriptProcessor CreateProcessor() { var processor = new ScriptProcessor(_prototypeBuffer); ScriptContextManipulator.SetCallbackExecuteMethod(processor, ExecuteMethod); return(processor); }
private ScriptProcessor CreateProcessor() { if (_prototypeBuffer == null) { InitializePrototypeBuffer(); } var processor = new ScriptProcessor(_prototypeBuffer); ScriptContextManipulator.SetCallbackExecuteMethod(processor, ExecuteMethod); return(processor); }