public void WriteValue(RegistryRoot root, string key, string name, ValueType type, object value) { this.msixRegistryFacade.Add(new RegistryEntry { Key = key, Name = name, Root = root, Type = type, Value = value }); }
public void WriteValue(string registryKey, string name, ValueType type, object value) { var converted = RegistryPathConverter.ToCanonicalRegistryPath(registryKey); this.WriteValue(converted.Item1, converted.Item2, name, type, value); }