using C4IT.FASD.Base; using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace C4IT_DataHistoryProvider_Base.DataSources { public interface ISearchResultRelationProvider { HashSet GetSupportedInformationClasses(); /// /// Find objects, which are somehow related to the given objects. /// /// Identifies the objects for which relations should be searched /// Determines the information class the objects have, for which relations should be searched. /// Specifies the time, in which the relations should be considered. /// Task GetRelationsAsync(IEnumerable ids, enumFasdInformationClass informationClass, int ageInDays, CancellationToken token = default); } }