FileSearchWindows/FileSearch/Logic/UI/Entries/SearchExceptionEntry.cs

31 lines
728 B
C#
Raw Normal View History

2025-05-12 06:55:09 +03:00
/*
* Author: Nikolay Dvurechensky
* Site: https://www.dvurechensky.pro/
* Gmail: dvurechenskysoft@gmail.com
* Last Updated: 12 мая 2025 06:51:53
* Version: 1.0.7
*/
using FileSearch.Logic.Model.Engine;
2024-10-05 10:06:04 +03:00
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; }
}
}
}