示例#1
0
        } = 3000;                                                      // Milliseconds

        #endregion


        #region PUBLIC

        public static void AddNewPlugin(IPlugin newPlugin)
        {
            if (newPlugin != null &&
                LoadedPlugins.FindAll(elem => elem.Config.Name == newPlugin.Config.Name).Count <= 0)
            {
                LoadedPlugins.Add(newPlugin);
                LoadedPlugins.Sort((s1, s2) => s1.CompareTo(s2));
            }
        }