コード例 #1
0
ファイル: SetupAction.cs プロジェクト: phpmanager/phpmanager
        public override void Install(System.Collections.IDictionary stateSaver)
        {
            base.Install(stateSaver);

            var assembly               = Assembly.GetExecutingAssembly();
            var assemblyName           = assembly.GetName();
            var assemblyFullName       = assemblyName.FullName;
            var clientAssemblyFullName = assemblyFullName.Replace(assemblyName.Name, "Web.Management.PHP");

            InstallUtil.RemoveUIModuleProvider("PHP"); // This is necessary for the upgrade scenario
            InstallUtil.AddUIModuleProvider("PHP", "Web.Management.PHP.PHPProvider, " + clientAssemblyFullName);
        }
コード例 #2
0
ファイル: SetupAction.cs プロジェクト: phpmanager/phpmanager
        public override void Uninstall(System.Collections.IDictionary savedState)
        {
            base.Uninstall(savedState);

            InstallUtil.RemoveUIModuleProvider("PHP");
        }