Files
sockeye/server/biz/ISearchAbleObject.cs
2022-12-16 06:01:23 +00:00

16 lines
506 B
C#

using System.Threading.Tasks;
namespace Sockeye.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, SockType specificType);
}
}