FileSearchWindows/FileSearch/Logic/UI/Entries/SearchExceptionEntry.cs
Dvurechensky e2bffc8b49 1.0
Main
2024-10-05 10:06:04 +03:00

23 lines
553 B
C#

using FileSearch.Logic.Model.Engine;
namespace FileSearch.Logic.UI.Entries
{
internal sealed class SearchExceptionEntry : ListViewItem
{
private readonly SearchException _exception;
public SearchExceptionEntry(SearchException exception)
{
_exception = exception;
this.Text = exception.FileSystemInfo.FullName;
this.SubItems.Add(exception.FriendlyDescription);
}
public SearchException Exception
{
get { return _exception; }
}
}
}