using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using xContentService.Models.Dtos;
using xContentService.Models.Entities;
namespace xContentService.Interfaces.Enrichers
{
public interface IXContentEnricher
{
//
#region Enrichers ...
///
/// Enrich Specified Item ...
///
///
///
///
Task Enrich(
XContent source,
CancellationToken cancellationToken = default
);
///
/// Enrich Specified Item ...
///
///
///
///
Task Enrich(
XContentDto source,
CancellationToken cancellationToken = default
);
///
/// Enrich Specified Items ...
///
///
///
///
Task> EnrichRange(
IEnumerable sources,
CancellationToken cancellationToken = default
);
///
/// Enrich Specified Items ...
///
///
///
///
Task> EnrichRange(
IEnumerable sources,
CancellationToken cancellationToken = default
);
#endregion
}
}