21 lines
552 B
C#
21 lines
552 B
C#
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) };
|
|
}
|
|
}
|
|
}
|
|
}
|