Ejemplo n.º 1
0
        public ActionResult Index()
        {
            string[] pluginFiles = Directory.GetFiles(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Plugins"), "*.dll");

            List <Plugin> plugins = _pluginServices.GetPluginsInFolder(Server.MapPath("~/Plugins"));

            return(View(plugins));
        }