From 657530b3942332b07093a38e8904cd23aac96531 Mon Sep 17 00:00:00 2001 From: Hadi Khazaee Asl Date: Sat, 8 Aug 2026 09:41:37 +0330 Subject: [PATCH] add Base Enricher Interface ... --- Interfaces/IXBaseEnricher.cs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Interfaces/IXBaseEnricher.cs diff --git a/Interfaces/IXBaseEnricher.cs b/Interfaces/IXBaseEnricher.cs new file mode 100644 index 0000000..1dee10e --- /dev/null +++ b/Interfaces/IXBaseEnricher.cs @@ -0,0 +1,21 @@ +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + +namespace xDataService.Interfaces +{ + public interface IXBaseEnricher + { + Task EnrichAsync( + TSource source, + TDest destination, + CancellationToken cancellationToken = default + ); + + Task EnrichRangeAsync( + IEnumerable sources, + IEnumerable destinations, + CancellationToken cancellationToken = default + ); + } +} \ No newline at end of file