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