コード例 #1
0
        public ActionResult Install(string AssemblyName)
        {
            var plugins = _pluginServices.GetPluginsInFolder(Server.MapPath("~/Plugins"));

            IPluginDetails details = _pluginServices.GetPluginDetailsFromAssembly(Path.Combine(Server.MapPath("~/Plugins"), AssemblyName + ".dll"));

            ViewData["AssemblyName"] = AssemblyName;

            var results = TempData["InstallResults"];

            ViewData["InstallResults"] = results;

            return(View(details));
        }