Ejemplo 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();
 }
Ejemplo n.º 2
0
 public RegistryKeyInfo(RegistryProvider provider, RegistryKeyInfo parent, string name)
 {
     Provider = provider;
     _Name    = name;
     Parent   = parent;
     _SubKeys = new Dictionary <string, RegistryKeyInfo>();
 }
Ejemplo n.º 3
0
 public abstract void SetKeyName(RegistryKeyInfo key, string name);
Ejemplo n.º 4
0
 public void AddSubKey(RegistryKeyInfo subKey)
 {
     this.Provider.AddSubKey(this, subKey);
     this._SubKeys.Add(subKey.Name, subKey);
 }
Ejemplo n.º 5
0
 public RegistryValueInfo(RegistryKeyInfo key, string name)
 {
     _Name = name;
     _Key  = key;
 }
Ejemplo n.º 6
0
 public RegistryDwordInfo(RegistryKeyInfo key, string name, uint value)
     : base(key, name)
 {
     _Value = value;
     Type   = Microsoft.Win32.RegistryValueKind.DWord;
 }