示例#1
0
文件: Mako.cs 项目: krikelin/Entifi
        public LuaMako(ISpiderView scripting)
        {
            // Initialize runtime engine. For now we use JavaScriptEngine
            RuntimeMachine = scripting.Runtime;

            // Set JSPython to try as default
            // JSPython = true;

            // Raise create event handler
            if (this.Create != null)
            {
                this.Create(this, new EventArgs());
            }
        }
示例#2
0
 public LuaInterpreter(ISpiderView host)
 {
     this.host = host;
     this.lua = new LuaInterface.Lua();
       //      this.lua.DoString(Properties.Resources.helperlua); // Add helper methods
 }
示例#3
0
文件: Entify.cs 项目: krikelin/Entifi
 public EntifySchemeHandlerFactory(ISpiderView spiderView)
 {
     this.SpiderView = spiderView;
 }
示例#4
0
文件: Entify.cs 项目: krikelin/Entifi
 public EntifyScheme(ISpiderView spiderView)
 {
     this.SpiderView = spiderView;
 }
示例#5
0
文件: Entify.cs 项目: krikelin/Entifi
 public EntifySchemeHandlerFactory(ISpiderView spiderView, EntifyScheme entifyScheme)
 {
     this.SpiderView = spiderView;
     this.EntifyScheme = entifyScheme;
 }