Esempio n. 1
0
 public virtual void AddSubKey(RegistryKeyInfo parent, RegistryKeyInfo child)
 {
     // I think only the provider should be adding subkeys to the parent
     // so parent calls this on any add and this can object?
     // or actually no maybe other things can add, but provider would need to write those changes back to the source
     throw new NotImplementedException();
 }
Esempio n. 2
0
 public RegistryKeyInfo(RegistryProvider provider, RegistryKeyInfo parent, string name)
 {
     Provider = provider;
     _Name    = name;
     Parent   = parent;
     _SubKeys = new Dictionary <string, RegistryKeyInfo>();
 }
Esempio n. 3
0
 public abstract void SetKeyName(RegistryKeyInfo key, string name);
Esempio n. 4
0
 public void AddSubKey(RegistryKeyInfo subKey)
 {
     this.Provider.AddSubKey(this, subKey);
     this._SubKeys.Add(subKey.Name, subKey);
 }
Esempio n. 5
0
 public RegistryValueInfo(RegistryKeyInfo key, string name)
 {
     _Name = name;
     _Key  = key;
 }
Esempio n. 6
0
 public RegistryDwordInfo(RegistryKeyInfo key, string name, uint value)
     : base(key, name)
 {
     _Value = value;
     Type   = Microsoft.Win32.RegistryValueKind.DWord;
 }