C# Class Microsoft.Common.Core.Test.Registry.RegistryKeyMock

Inheritance: IRegistryKey
Mostrar archivo Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
GetSubKeyNames ( ) : string[]
GetValue ( string name ) : object
OpenSubKey ( string name, bool writable = false ) : IRegistryKey
RegistryKeyMock ( string name ) : System.Collections.Generic
RegistryKeyMock ( string name, RegistryKeyMock subkeys = null, string valueNames = null, string values = null ) : System.Collections.Generic
SetValue ( string name, object value ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetSubKeyNames() public method

public GetSubKeyNames ( ) : string[]
return string[]

GetValue() public method

public GetValue ( string name ) : object
name string
return object

OpenSubKey() public method

public OpenSubKey ( string name, bool writable = false ) : IRegistryKey
name string
writable bool
return IRegistryKey

RegistryKeyMock() public method

public RegistryKeyMock ( string name ) : System.Collections.Generic
name string
return System.Collections.Generic

RegistryKeyMock() public method

public RegistryKeyMock ( string name, RegistryKeyMock subkeys = null, string valueNames = null, string values = null ) : System.Collections.Generic
name string
subkeys RegistryKeyMock
valueNames string
values string
return System.Collections.Generic

SetValue() public method

public SetValue ( string name, object value ) : void
name string
value object
return void