Files
raven/server/AyaNova/biz/ISearchAbleObject.cs
2021-09-03 23:48:41 +00:00

16 lines
505 B
C#

using System.Threading.Tasks;
namespace AyaNova.Biz
{
/// <summary>
/// Interface for biz objects that support searching
/// </summary>
internal interface ISearchAbleObject
{
//get all text for the object that would have been indexed for search
//called by search::GetInfoAsync as a result of a user requesting a search result sumary
Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, AyaType specificType);
}
}