diff options
author | Gert Driesen <drieseng@users.sourceforge.net> | 2004-05-15 21:21:51 +0400 |
---|---|---|
committer | Gert Driesen <drieseng@users.sourceforge.net> | 2004-05-15 21:21:51 +0400 |
commit | dbfef656428abf616468789ec833c712d2354e8d (patch) | |
tree | 5b865a430e887a68d9de47654d761b2e869fe33d /mcs/class/System.Configuration.Install | |
parent | eed074976303719f2f3df4ce5452c482813f0c2e (diff) |
* InstallContext.cs: removed setter for Parameters
* Installer.cs: added missing attributes, remove
setter for Installers, Context
svn path=/trunk/mcs/; revision=27456
Diffstat (limited to 'mcs/class/System.Configuration.Install')
3 files changed, 23 insertions, 17 deletions
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 <raciel@es.gnu.org> * 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; |