Files
xDataService/Interfaces/IXBaseEnricher.cs
T
2026-09-03 23:57:24 +03:30

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
);
}
}