Fixed RawValue and ToString for when non-lookup string supplied.

pull/119/head
dahall 2020-02-26 15:19:13 -07:00
parent c93fbb5880
commit 129a8247aa
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ namespace Vanara.Windows.Shell
/// <summary>Gets the raw value of the string.</summary>
/// <value>Returns a <see cref="string"/> value.</value>
[Browsable(false)]
public string RawValue => IsValid ? $"@{ModuleFileName},{ResourceId}" : ModuleFileName;
public string RawValue => IsValid ? $"@{ModuleFileName},{ResourceId}" : PackageName;
/// <summary>Gets the localized string referred to by this instance.</summary>
/// <value>The referenced localized string.</value>