Пример #1
0
 public static void RemovePlugin(ILogPlugin plug)
 {
     try
     {
         _logplugs.Remove(plug);
     }
     catch (Exception ex)
     {
         Environment.ReportError(ex, AccessManager.AccessKey);
     }
 }
Пример #2
0
 /// <summary>
 /// Registers the Log plugin.
 /// </summary>
 /// <param name="logPlugin">The plugin.</param>
 internal void RegisterLogPlugin(ILogPlugin logPlugin)
 {
     Plugins.LogPlugins.Add(logPlugin);
 }