Inheritance: IRegistryKey
Beispiel #1
0
 public RegistryKeyMock(string name, RegistryKeyMock[] subkeys = null, string[] valueNames = null, string[] values = null) {
     Name = name;
     _subkeys = subkeys ?? new RegistryKeyMock[0];
     for (int i = 0; valueNames != null && i < valueNames.Length; i++) {
         _values[valueNames[i]] = values[i];
     }
 }
Beispiel #2
0
 public RegistryBaseKeyMock(RegistryKeyMock[] subkeys) {
     _subkeys = subkeys;
 }
Beispiel #3
0
 public RegistryMock(RegistryKeyMock[] keys) {
     _keys = keys;
 }