21 lines
532 B
C#
21 lines
532 B
C#
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using System.Collections.Generic;
|
|
|
|
namespace xDataService.Interfaces
|
|
{
|
|
public interface IXBaseEnricher<TSource, TDest>
|
|
{
|
|
Task EnrichAsync(
|
|
TSource source,
|
|
TDest destination,
|
|
CancellationToken cancellationToken = default
|
|
);
|
|
|
|
Task EnrichRangeAsync(
|
|
IEnumerable<TSource> sources,
|
|
IEnumerable<TDest> destinations,
|
|
CancellationToken cancellationToken = default
|
|
);
|
|
}
|
|
} |