From dbfef656428abf616468789ec833c712d2354e8d Mon Sep 17 00:00:00 2001 From: Gert Driesen Date: Sat, 15 May 2004 17:21:51 +0000 Subject: * InstallContext.cs: removed setter for Parameters * Installer.cs: added missing attributes, remove setter for Installers, Context svn path=/trunk/mcs/; revision=27456 --- .../System.Configuration.Install/ChangeLog | 6 +++++ .../System.Configuration.Install/InstallContext.cs | 6 +---- .../System.Configuration.Install/Installer.cs | 28 ++++++++++++---------- 3 files changed, 23 insertions(+), 17 deletions(-) (limited to 'mcs/class/System.Configuration.Install') diff --git a/mcs/class/System.Configuration.Install/System.Configuration.Install/ChangeLog b/mcs/class/System.Configuration.Install/System.Configuration.Install/ChangeLog index d68031d8799..cbb3a12013c 100644 --- a/mcs/class/System.Configuration.Install/System.Configuration.Install/ChangeLog +++ b/mcs/class/System.Configuration.Install/System.Configuration.Install/ChangeLog @@ -1,3 +1,9 @@ +2004-05-15 Gert Driesen (drieseng@users.sourceforge.net) + + * InstallContext.cs: removed setter for Parameters + * Installer.cs: added missing attributes, remove + setter for Installers, Context + 2002-12-01 Alejandro Sánchez Acosta * IManagedInstaller.cs, diff --git a/mcs/class/System.Configuration.Install/System.Configuration.Install/InstallContext.cs b/mcs/class/System.Configuration.Install/System.Configuration.Install/InstallContext.cs index 0221cba139e..618d891868c 100644 --- a/mcs/class/System.Configuration.Install/System.Configuration.Install/InstallContext.cs +++ b/mcs/class/System.Configuration.Install/System.Configuration.Install/InstallContext.cs @@ -28,11 +28,7 @@ namespace System.Configuration.Install get { return parameters; } - - set { - parameters = value; - } - } + } [MonoTODO] public bool IsParameterTrue (string paramName) diff --git a/mcs/class/System.Configuration.Install/System.Configuration.Install/Installer.cs b/mcs/class/System.Configuration.Install/System.Configuration.Install/Installer.cs index f91d5e0f263..86eaaa21e5f 100644 --- a/mcs/class/System.Configuration.Install/System.Configuration.Install/Installer.cs +++ b/mcs/class/System.Configuration.Install/System.Configuration.Install/Installer.cs @@ -11,6 +11,11 @@ using System.ComponentModel; namespace System.Configuration.Install { + [DefaultEvent("AfterInstall")] +#if (!NET_2_0) + // .NET 2.0 (Community Preview) no longer has this attribute + [Designer("Microsoft.VisualStudio.Configuration.InstallerDesigner, " + Consts.AssemblyMicrosoft_VisualStudio, "System.ComponentModel.Design.IRootDesigner," + Consts.AssemblySystem)] +#endif public class Installer : Component { private InstallContext context; @@ -21,8 +26,10 @@ namespace System.Configuration.Install [MonoTODO] public Installer () { throw new NotImplementedException (); - } - + } + + [DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)] + [BrowsableAttribute(false)] public InstallContext Context { get { return context; @@ -37,22 +44,19 @@ namespace System.Configuration.Install get { return helptext; } - - set { - helptext = value; - } } + [DesignerSerializationVisibility (DesignerSerializationVisibility.Content)] + [BrowsableAttribute(false)] public InstallerCollection Installers { get { return installers; } - - set { - installers = value; - } - } - + } + + [TypeConverter ("System.Configuration.Design.InstallerParentConverter")] + [DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)] + [BrowsableAttribute (false)] public Installer Parent { get { return parent; -- cgit v1.2.3