diff options
author | Gert Driesen <drieseng@users.sourceforge.net> | 2004-06-11 10:05:10 +0400 |
---|---|---|
committer | Gert Driesen <drieseng@users.sourceforge.net> | 2004-06-11 10:05:10 +0400 |
commit | b8fe1d05d61e694e6b9baf5156fc491997f63b12 (patch) | |
tree | 49703843083a261ec89394e09786a02d1dd73ca7 /mcs/class/System.Configuration.Install | |
parent | 76e5bd51849aacb3c184e90e53f06dc77d2fc42f (diff) |
* AssemblyInstaller.cs: stubbed
* ManagedInstallerClass.cs: stubbed
* TransactedInstaller.cs: stubbed
svn path=/trunk/mcs/; revision=29266
Diffstat (limited to 'mcs/class/System.Configuration.Install')
4 files changed, 183 insertions, 0 deletions
diff --git a/mcs/class/System.Configuration.Install/System.Configuration.Install/AssemblyInstaller.cs b/mcs/class/System.Configuration.Install/System.Configuration.Install/AssemblyInstaller.cs new file mode 100644 index 00000000000..8ed0fd6e3f0 --- /dev/null +++ b/mcs/class/System.Configuration.Install/System.Configuration.Install/AssemblyInstaller.cs @@ -0,0 +1,115 @@ +// System.Configuration.Install.AssemblyInstaller.cs +// +// Author: +// Gert Driesen (drieseng@users.sourceforge.net) +// +// (C) Novell +// + +using System.Collections; +using System.ComponentModel; +using System.Reflection; + +namespace System.Configuration.Install +{ + public class AssemblyInstaller : Installer + { + public AssemblyInstaller () + { + } + + public AssemblyInstaller (Assembly assembly, string[] commandLine) + { + _assembly = assembly; + _commandLine = commandLine; + _useNewContext = true; + } + + public AssemblyInstaller (string filename, string[] commandLine) + { + Path = System.IO.Path.GetFullPath (filename); + _commandLine = commandLine; + _useNewContext = true; + } + + [MonoTODO] + public static void CheckIfInstallable (string assemblyName) + { + throw new NotImplementedException (); + } + + [MonoTODO] + public override void Commit (IDictionary savedState) + { + throw new NotImplementedException (); + } + + [MonoTODO] + public override void Install (IDictionary savedState) + { + throw new NotImplementedException (); + } + + [MonoTODO] + public override void Rollback (IDictionary savedState) + { + throw new NotImplementedException (); + } + + [MonoTODO] + public override void Uninstall (IDictionary savedState) + { + throw new NotImplementedException (); + } + + public Assembly Assembly { + get { + return _assembly; + } + set { + _assembly = value; + } + } + + public string[] CommandLine { + get { + return _commandLine; + } + set { + _commandLine = value; + } + } + + public override string HelpText { + get { + throw new NotImplementedException (); + } + } + public string Path { + get { + if (_assembly == null) + return null; + + return _assembly.Location; + } + set { + if (value == null) + _assembly = null; + + _assembly = Assembly.LoadFrom (value); + } + } + public bool UseNewContext { + get { + return _useNewContext; + } + set { + _useNewContext = value; + } + } + + private Assembly _assembly; + private string[] _commandLine; + private bool _useNewContext; + } +} diff --git a/mcs/class/System.Configuration.Install/System.Configuration.Install/ChangeLog b/mcs/class/System.Configuration.Install/System.Configuration.Install/ChangeLog index 4b735d269e7..c5f021e4aea 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-06-11 Gert Driesen <drieseng@users.sourceforge.net> + + * AssemblyInstaller.cs: stubbed + * ManagedInstallerClass.cs: stubbed + * TransactedInstaller.cs: stubbed + 2004-05-16 Gert Driesen (drieseng@users.sourceforge.net) * IManagedInstaller.cs: fixed signature diff --git a/mcs/class/System.Configuration.Install/System.Configuration.Install/ManagedInstallerClass.cs b/mcs/class/System.Configuration.Install/System.Configuration.Install/ManagedInstallerClass.cs new file mode 100644 index 00000000000..4ef9c5dbc02 --- /dev/null +++ b/mcs/class/System.Configuration.Install/System.Configuration.Install/ManagedInstallerClass.cs @@ -0,0 +1,33 @@ +// System.Configuration.Install.ManagedInstallerClass.cs +// +// Author: +// Gert Driesen (drieseng@users.sourceforge.net) +// +// (C) Novell +// + +using System.Runtime.InteropServices; + +namespace System.Configuration.Install +{ + [GuidAttribute ("42EB0342-0393-448f-84AA-D4BEB0283595")] + [ComVisible (true)] + public class ManagedInstallerClass : IManagedInstaller + { + public ManagedInstallerClass () + { + } + + [MonoTODO] + public static void InstallHelper (string[] args) + { + throw new NotImplementedException (); + } + + [MonoTODO] + int IManagedInstaller.ManagedInstall (string argString, int hInstall) + { + throw new NotImplementedException (); + } + } +} diff --git a/mcs/class/System.Configuration.Install/System.Configuration.Install/TransactedInstaller.cs b/mcs/class/System.Configuration.Install/System.Configuration.Install/TransactedInstaller.cs new file mode 100644 index 00000000000..a10e596e081 --- /dev/null +++ b/mcs/class/System.Configuration.Install/System.Configuration.Install/TransactedInstaller.cs @@ -0,0 +1,29 @@ +// System.Configuration.Install.TransactedInstaller.cs +// +// Author: +// Gert Driesen (drieseng@users.sourceforge.net) +// +// (C) Novell +// + +using System.Collections; + +namespace System.Configuration.Install +{ + public class TransactedInstaller : Installer + { + public TransactedInstaller () + { + } + + [MonoTODO] + public override void Install (IDictionary savedState) + { + } + + [MonoTODO] + public override void Uninstall (IDictionary savedState) + { + } + } +} |