More 2.0 support for the registry, add support for expanding strings
authorMiguel de Icaza <miguel@gnome.org>
Mon, 14 Aug 2006 07:20:46 +0000 (07:20 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Mon, 14 Aug 2006 07:20:46 +0000 (07:20 -0000)
commit0b752ba64e33df192816acc8444fc22ab409ad1c
tree35cc6298554a5c1e3eb094d8e3155edd249a7eec
parentde534d535122e161c01c1d980347f1be657737c1
More 2.0 support for the registry, add support for expanding strings
and add support for type verification and explicit types in Setvalue.

The tests from the docs work now.

2006-08-14  Miguel de Icaza  <miguel@novell.com>

* RegistryValueKind.cs: Make this public in 2.0, and rename from
previous version.

* Win32RegistryApi.cs: Include version to check for version;
Eliminate old internal enum, and instead use the new 2.0 enum.

* UnixRegistryApi.cs: Add support for typed versions of values.

Add support for ExpandString.

* Registry.cs (SetValue): implement version with type arguments.

svn path=/trunk/mcs/; revision=63708
mcs/class/corlib/Microsoft.Win32/ChangeLog
mcs/class/corlib/Microsoft.Win32/IRegistryApi.cs
mcs/class/corlib/Microsoft.Win32/Registry.cs
mcs/class/corlib/Microsoft.Win32/RegistryKey.cs
mcs/class/corlib/Microsoft.Win32/RegistryValueKind.cs [new file with mode: 0644]
mcs/class/corlib/Microsoft.Win32/UnixRegistryApi.cs
mcs/class/corlib/Microsoft.Win32/Win32RegistryApi.cs
mcs/class/corlib/corlib.dll.sources