Example #1
0
 public virtual void LoadPlugin(params IPlugin[] plugins)
 {
     if (delayLoadPlugin)
     {
         LoadPluginsInternal(plugins);
         Plugins.AddRange(plugins);
     }
     else
     {
         foreach (var plugin in plugins)
         {
             Plugins.Add(plugin);
         }
     }
 }