public List <PluginItem> GetPluginList(bool secret = false)
        {
            List <PluginItem> list = PluginList.Select(p =>
            {
                var pi = new PluginItem();
                pi.CopyFrom(p, secret);
                return(pi);
            }).ToList();

            return(list);
        }
        public PluginItem GetPluginInfo(string pluginId, bool secret = false)
        {
            PluginInfo pi = PluginList.FirstOrDefault(x => x.ID == pluginId);

            if (pi != null)
            {
                PluginItem p = new PluginItem();
                p.CopyFrom(pi, secret);
                return(p);
            }

            return(null);
        }