public FhirPartitionedExecutor(IFhirDataReader <TSource> rawDataReader,
                                IFhirDataConsumer <TResult> anonymizedDataConsumer)
 {
     RawDataReader           = rawDataReader;
     AnonymizedDataConsumer  = anonymizedDataConsumer;
     AnonymizerFunctionAsync = async content =>
     {
         return(await Task.FromResult <TResult>(default).ConfigureAwait(false));
 public FhirPartitionedExecutor(IFhirDataReader rawDataReader, IFhirDataConsumer anonymizedDataConsumer, Func <string, string> anonymizerFunction)
 {
     RawDataReader          = rawDataReader;
     AnonymizedDataConsumer = anonymizedDataConsumer;
     AnonymizerFunction     = anonymizerFunction;
 }
Пример #3
0
 public FhirPartitionedExecutor(IFhirDataReader <TSource> rawDataReader, IFhirDataConsumer <TResult> anonymizedDataConsumer, Func <TSource, Task <TResult> > anonymizerFunctionAsync)
 {
     RawDataReader           = rawDataReader;
     AnonymizedDataConsumer  = anonymizedDataConsumer;
     AnonymizerFunctionAsync = anonymizerFunctionAsync;
 }