namespace GsaEditor.ViewModels; /// /// A single search hit: a file name match, or a matching line inside a file. /// public class SearchResultViewModel { /// /// Alias of the matching archive entry. /// public string Alias { get; init; } = string.Empty; /// /// Match context for content searches (e.g. "line 12: ..."). Empty for name matches. /// public string Detail { get; init; } = string.Empty; public bool HasDetail => Detail.Length > 0; }