/// <summary> /// Raises the <see cref="E:FileLost" /> event. /// </summary> /// <param name="args">The <see cref="PluginDirectoryEventArgs"/> instance containing the event data.</param> private void OnFileLost(PluginDirectoryEventArgs args) { this.log.Debug(Resources.FileLost, args.FullName); if (this.FileLost != null) { FileInfo file = new FileInfo(args.FullName); if (string.Compare(file.Extension, ".dll", StringComparison.OrdinalIgnoreCase) == 0) { this.FileLost(this, args); } } }
private void PluginDirFileLost(object sender, PluginDirectoryEventArgs e) { this.Remove(e.FullName); }
private void PluginDirectoryFileFound(object sender, PluginDirectoryEventArgs e) { this.Add(e.FullName); }
/// <summary> /// Raises the <see cref="E:FileLost" /> event. /// </summary> /// <param name="args">The <see cref="PluginDirectoryEventArgs"/> instance containing the event data.</param> private void OnFileLost(PluginDirectoryEventArgs args) { this.log.Debug(Resources.FileLost, args.FullName); if (this.FileLost != null) { FileInfo file = new FileInfo(args.FullName); if (string.Compare(file.Extension, ".dll", StringComparison.OrdinalIgnoreCase) == 0) this.FileLost(this, args); } }