Files
xDataService/Interfaces/IXBaseEnricher.cs
T

21 lines
540 B
C#

using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
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
);
}
}