FileSearchWindows/FileSearch/Logic/Model/Engine/SearchResult.cs
Dvurechensky e2bffc8b49 1.0
Main
2024-10-05 10:06:04 +03:00

22 lines
817 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace FileSearch.Logic.Model.Engine
{
public class SearchResult
{
public SearchResult(FileSystemInfo fileSystemInfo)
{
this.FileSystemInfo = fileSystemInfo;
}
/// <summary>
/// Получает файл или каталог для данного результата поиска.
/// </summary>
public FileSystemInfo FileSystemInfo { get; private set; }
/// <summary>
/// Получает или устанавливает коллекцию со всеми метаданными для этого результата поиска.
/// Тип критерия, задавшего контекст.
/// </summary>
public IDictionary<Type, ICriterionContext> Metadata { get; set; }
}
}