Esempio n. 1
0
 protected override void DisposeManaged()
 {
     if (factory_ != null)
     {
         // Key storage should be disposed first as disposing
         // factory closes reghives.
         keyStorage_.Dispose();
         keyStorage_ = null;
         factory_.Dispose();
         factory_ = null;
     }
 }
Esempio n. 2
0
 internal VirtualRegistry(string baseHivePath, string diffHivePath)
 {
     factory_    = new VirtualKeyFactory(baseHivePath, diffHivePath, alterer_);
     keyStorage_ = new VirtualKeyStorage(this);
 }