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