/// <summary> /// 注册表路径信息类复制构造函数。 /// </summary> /// <param name="regPath"> /// 注册表路径信息类。 /// </param> public RegPath(RegPath regPath) { Guid = Guid.NewGuid(); HKey = regPath.HKey; LpSubKey = regPath.LpSubKey; LpValueName = regPath.LpValueName; }
/// <inheritdoc /> /// <summary> /// 注册表信息存储类构造函数。 /// </summary> /// <param name="regPath"> /// 注册表键路径信息类。 /// </param> /// <param name="lpKind"> /// 注册表键值类型。 /// </param> /// <param name="lpValue"> /// 注册表键值。 /// </param> /// <param name="isNull"> /// 注册表信息是否为空。 /// </param> /// <param name="isNecessary"> /// 注册表信息是否必要。 /// </param> public RegStore( RegPath regPath, RegistryValueKind lpKind = RegistryValueKind.Unknown, object lpValue = null, bool isNull = true, bool isNecessary = true) : base(regPath, lpKind, lpValue) { IsNull = isNull; IsNecessary = isNecessary; }
/// <inheritdoc /> /// <summary> /// 注册表键信息类构造函数。 /// </summary> /// <param name="regPath"> /// 注册表键路径信息类。 /// </param> /// <param name="lpKind"> /// 注册表键值类型。 /// </param> /// <param name="lpValue"> /// 注册表键值。 /// </param> public RegKey(RegPath regPath, RegistryValueKind lpKind = RegistryValueKind.Unknown, object lpValue = null) : base(regPath) { LpKind = lpKind; LpValue = lpValue; }