add Base Enricher Interface ...
This commit is contained in:
@@ -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
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user