You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.150
Former-commit-id: 73e3bb1e96dd09dc931c1dfe559d2c7f7b8b02c7
This commit is contained in:
parent
02ac915603
commit
b95516a3dd
@ -60,12 +60,90 @@ namespace Microsoft.Win32
|
||||
throw new PlatformNotSupportedException ();
|
||||
}
|
||||
|
||||
public RegistryKey CreateSubKey (String subkey, bool writable)
|
||||
{
|
||||
throw new PlatformNotSupportedException ();
|
||||
}
|
||||
|
||||
public RegistryKey CreateSubKey (String subkey, bool writable, RegistryOptions options)
|
||||
{
|
||||
throw new PlatformNotSupportedException ();
|
||||
}
|
||||
|
||||
public void DeleteSubKey (string subkey)
|
||||
{
|
||||
}
|
||||
|
||||
public void DeleteSubKey (string subkey, bool throwOnMissingSubKey)
|
||||
{
|
||||
}
|
||||
|
||||
public void DeleteSubKeyTree (string subkey)
|
||||
{
|
||||
}
|
||||
|
||||
public void DeleteSubKeyTree (string subkey, bool throwOnMissingSubKey)
|
||||
{
|
||||
}
|
||||
|
||||
public void DeleteValue (string name)
|
||||
{
|
||||
}
|
||||
|
||||
public void DeleteValue (string name, bool throwOnMissingValue)
|
||||
{
|
||||
}
|
||||
|
||||
public void Flush()
|
||||
{
|
||||
}
|
||||
|
||||
public static RegistryKey FromHandle (SafeRegistryHandle handle)
|
||||
{
|
||||
throw new PlatformNotSupportedException ();
|
||||
}
|
||||
|
||||
public static RegistryKey FromHandle (SafeRegistryHandle handle, RegistryView view)
|
||||
{
|
||||
throw new PlatformNotSupportedException ();
|
||||
}
|
||||
|
||||
public string[] GetSubKeyNames ()
|
||||
{
|
||||
throw new PlatformNotSupportedException ();
|
||||
}
|
||||
|
||||
public object GetValue (string name)
|
||||
{
|
||||
throw new PlatformNotSupportedException ();
|
||||
}
|
||||
|
||||
public object GetValue (string name, object defaultValue)
|
||||
{
|
||||
throw new PlatformNotSupportedException ();
|
||||
}
|
||||
|
||||
public static object GetValue (string keyName, string valueName, object defaultValue)
|
||||
public object GetValue (string name, object defaultValue, RegistryValueOptions options)
|
||||
{
|
||||
throw new PlatformNotSupportedException ();
|
||||
}
|
||||
|
||||
public RegistryValueKind GetValueKind (string name)
|
||||
{
|
||||
throw new PlatformNotSupportedException ();
|
||||
}
|
||||
|
||||
public string[] GetValueNames ()
|
||||
{
|
||||
throw new PlatformNotSupportedException ();
|
||||
}
|
||||
|
||||
public static RegistryKey OpenBaseKey (RegistryHive hKey, RegistryView view)
|
||||
{
|
||||
throw new PlatformNotSupportedException ();
|
||||
}
|
||||
|
||||
public RegistryKey OpenSubKey (string name)
|
||||
{
|
||||
throw new PlatformNotSupportedException ();
|
||||
}
|
||||
@ -75,6 +153,11 @@ namespace Microsoft.Win32
|
||||
throw new PlatformNotSupportedException ();
|
||||
}
|
||||
|
||||
public RegistryKey OpenSubKey (string name, RegistryRights rights)
|
||||
{
|
||||
throw new PlatformNotSupportedException ();
|
||||
}
|
||||
|
||||
public void SetValue (string name, object value)
|
||||
{
|
||||
}
|
||||
@ -83,7 +166,25 @@ namespace Microsoft.Win32
|
||||
{
|
||||
}
|
||||
|
||||
// TODO: Finish full contract API
|
||||
public SafeRegistryHandle Handle {
|
||||
get { throw new PlatformNotSupportedException (); }
|
||||
}
|
||||
|
||||
public string Name {
|
||||
get { throw new PlatformNotSupportedException (); }
|
||||
}
|
||||
|
||||
public int SubKeyCount {
|
||||
get { throw new PlatformNotSupportedException (); }
|
||||
}
|
||||
|
||||
public int ValueCount {
|
||||
get { throw new PlatformNotSupportedException (); }
|
||||
}
|
||||
|
||||
public RegistryView View {
|
||||
get { throw new PlatformNotSupportedException (); }
|
||||
}
|
||||
}
|
||||
#else
|
||||
/// <summary>
|
||||
@ -389,7 +490,18 @@ namespace Microsoft.Win32
|
||||
return CreateSubKey (subkey, permissionCheck, registryOptions);
|
||||
}
|
||||
|
||||
|
||||
[ComVisible(false)]
|
||||
public RegistryKey CreateSubKey (string subkey, bool writable)
|
||||
{
|
||||
return CreateSubKey (subkey, writable ? RegistryKeyPermissionCheck.ReadWriteSubTree : RegistryKeyPermissionCheck.ReadSubTree);
|
||||
}
|
||||
|
||||
[ComVisible(false)]
|
||||
public RegistryKey CreateSubKey (string subkey, bool writable, RegistryOptions options)
|
||||
{
|
||||
return CreateSubKey (subkey, writable ? RegistryKeyPermissionCheck.ReadWriteSubTree : RegistryKeyPermissionCheck.ReadSubTree, options);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Delete the specified subkey.
|
||||
/// </summary>
|
||||
@ -589,7 +701,14 @@ namespace Microsoft.Win32
|
||||
{
|
||||
return OpenSubKey (name, permissionCheck == RegistryKeyPermissionCheck.ReadWriteSubTree);
|
||||
}
|
||||
|
||||
|
||||
[ComVisible (false)]
|
||||
[MonoLimitation ("rights are ignored in Mono")]
|
||||
public RegistryKey OpenSubKey (string name, RegistryRights rights)
|
||||
{
|
||||
return OpenSubKey (name);
|
||||
}
|
||||
|
||||
[ComVisible (false)]
|
||||
[MonoLimitation ("rights are ignored in Mono")]
|
||||
public RegistryKey OpenSubKey (string name, RegistryKeyPermissionCheck permissionCheck, RegistryRights rights)
|
||||
|
Reference in New Issue
Block a user