Пример #1
0
 public void Registry_Users_Test()
 {
     var key = Registry.Users;
     var keyWrap = new RegistryWrap().Users.RegistryKeyInstance;
     Assert.AreSame(key, keyWrap);
 }
Пример #2
0
 public void Registry_PerformanceData_Test()
 {
     var key = Registry.PerformanceData;
     var keyWrap = new RegistryWrap().PerformanceData.RegistryKeyInstance;
     Assert.AreSame(key, keyWrap);
 }
Пример #3
0
 public void Registry_CurrentUser_Test()
 {
     var key = Registry.CurrentUser;
     var keyWrap = new RegistryWrap().CurrentUser.RegistryKeyInstance;
     Assert.AreSame(key, keyWrap);
 }
Пример #4
0
 public void Registry_LocalMachine_Test()
 {
     var key = Registry.LocalMachine;
     var keyWrap = new RegistryWrap().LocalMachine.RegistryKeyInstance;
     Assert.AreSame(key, keyWrap);
 }
Пример #5
0
 public void Registry_ClassesRoot_Test()
 {
     var key = Registry.ClassesRoot;
     var keyWrap = new RegistryWrap().ClassesRoot.RegistryKeyInstance;
     Assert.AreSame(key, keyWrap);
 }