Exemple #1
0
 public void ExecuteBefore(IPagePlugin pluginInstance, Control sender, PluginEventArgs e)
 {
     this.InvokePluginList(pluginInstance, this.beforeActions, sender, e);
 }
Exemple #2
0
 private void InvokePluginList(IPagePlugin pluginInstance, List <CommandPluginHandler> plugin_handlers, Control sender, PluginEventArgs e)
 {
     if (plugin_handlers.Count > 0)
     {
         foreach (CommandPluginHandler handler in plugin_handlers)
         {
             handler.GetEventHandler(pluginInstance)(sender, e);
         }
     }
 }
Exemple #3
0
 public void ExecuteAfter(IPagePlugin pluginInstance, Control sender, PluginEventArgs e)
 {
     this.InvokePluginList(pluginInstance, this.afterActions, sender, e);
 }