FileSearchWindows/FileSearch/Logic/UI/ViewBuilders/DefaultViewBuilder.cs
Dvurechensky 2edf663d5b 1.0.5
2025-05-12 06:55:09 +03:00

29 lines
727 B
C#

/*
* 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.UI.Entries;
namespace FileSearch.Logic.UI.ViewBuilders
{
internal class DefaultViewBuilder : IViewBuilder
{
public IEnumerable<IPathEntry> Build(Model.Engine.SearchResult entry, int entryIndex)
{
return new[] { new PathEntry(entry.FileSystemInfo) };
}
public Tuple<string, int>[] ColumnSizes
{
get
{
return new[] { new Tuple<string, int>("Сканируемые директории", -1) };
}
}
}
}