Files
raven/server/AyaNova/biz/ISearchAbleObject.cs
2020-12-22 20:33:48 +00:00

16 lines
483 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);
}
}