The plugin registry keeps track of the installed plugins. It's rather simple - it just keeps track of a table of plugins for each plugin type. It has some helper methods to get a plugin instance. When writing new plugins, they must be added to the constructor of this class by hand.
Exemple #1
0
 public static PluginRegistry GetRegistry()
 {
     if (registry == null)
     {
         registry = new PluginRegistry();
     }
     return(registry);
 }
 public static PluginRegistry GetRegistry()
 {
     if (registry == null) registry = new PluginRegistry();
     return registry;
 }