add Base Enricher Interface ...

This commit is contained in:
2026-08-08 09:41:37 +03:30
parent 55ca626f03
commit 657530b394
+21
View File
@@ -0,0 +1,21 @@
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
);
}
}