/// <summary> /// Initializes a new instance of the PythonPlugin class /// </summary> /// <param name="filename"></param> /// <param name="engine"></param> /// <param name="watcher"></param> internal PythonPlugin(string filename, ScriptEngine engine, FSWatcher watcher) { // Store filename Filename = filename; PythonEngine = engine; this.watcher = watcher; }
/// <summary> /// Initializes a new instance of the JavaScriptPlugin class /// </summary> /// <param name="filename"></param> /// <param name="engine"></param> /// <param name="watcher"></param> internal JavaScriptPlugin(string filename, Engine engine, FSWatcher watcher) { // Store filename Filename = filename; JavaScriptEngine = engine; this.watcher = watcher; }
/// <summary> /// Initializes a new instance of the PythonPlugin class /// </summary> /// <param name="filename"></param> /// <param name="engine"></param> /// <param name="watcher"></param> internal PythonPlugin(string filename, ScriptEngine engine, FSWatcher watcher) { // Store filename Filename = filename; Name = Core.Utility.GetFileNameWithoutExtension(Filename); PythonEngine = engine; this.watcher = watcher; }
/// <summary> /// Initializes a new instance of the LuaPlugin class /// </summary> /// <param name="filename"></param> internal LuaPlugin(string filename, LuaExtension luaExt, FSWatcher watcher) { // Store filename Filename = filename; this.luaExt = luaExt; LuaEnvironment = luaExt.LuaEnvironment; this.watcher = watcher; }
/// <summary> /// Initializes a new instance of the LuaPlugin class /// </summary> /// <param name="filename"></param> /// <param name="luaExt"></param> /// <param name="watcher"></param> internal LuaPlugin(string filename, LuaExtension luaExt, FSWatcher watcher) { // Store filename Filename = filename; Name = Core.Utility.GetFileNameWithoutExtension(Filename); this.luaExt = luaExt; LuaEnvironment = luaExt.LuaEnvironment; this.watcher = watcher; }
/// <summary> /// Loads plugin watchers used by this extension /// </summary> /// <param name="pluginDirectory"></param> public override void LoadPluginWatchers(string pluginDirectory) { // Register the watchers var watcher = new FSWatcher(pluginDirectory, "*.js"); Manager.RegisterPluginChangeWatcher(watcher); loader.Watcher = watcher; watcher = new FSWatcher(pluginDirectory, "*.coffee"); Manager.RegisterPluginChangeWatcher(watcher); coffeeLoader.Watcher = watcher; }
/// <summary> /// Loads plugin watchers used by this extension /// </summary> /// <param name="PluginDirectory"></param> public override void LoadPluginWatchers(string PluginDirectory) { // Register the watcher Watcher = new FSWatcher(PluginDirectory, "*.cs"); Manager.RegisterPluginChangeWatcher(Watcher); }
/// <summary> /// Loads plugin watchers used by this extension /// </summary> /// <param name="plugindir"></param> public override void LoadPluginWatchers(string plugindir) { // Register the watcher watcher = new FSWatcher(plugindir, "*.lua"); Manager.RegisterPluginChangeWatcher(watcher); loader.Watcher = watcher; }
/// <summary> /// Initializes a new instance of the CoffeeScriptPlugin class /// </summary> /// <param name="filename"></param> /// <param name="engine"></param> /// <param name="watcher"></param> internal CoffeeScriptPlugin(string filename, Engine engine, FSWatcher watcher) : base(filename, engine, watcher) { Name = Core.Utility.GetFileNameWithoutExtension(Filename); }
/// <summary> /// Initializes a new instance of the CoffeeScriptPlugin class /// </summary> /// <param name="filename"></param> /// <param name="engine"></param> /// <param name="watcher"></param> internal CoffeeScriptPlugin(string filename, Engine engine, FSWatcher watcher) : base(filename, engine, watcher) { }