예제 #1
0
 /// <inheritdoc />
 public IConsumer <TKey, TValue> Create <TKey, TValue>(
     ConsumerConfig config,
     IConsumerConfigurator configurator,
     IDeserializerFactory deserializerFactory) =>
 configurator.Configure(
     new ConsumerBuilder <TKey, TValue>(config),
     deserializerFactory.Create <TKey>(),
     deserializerFactory.Create <TValue>())
 .Build();
예제 #2
0
 private ObjectDeserializer Create(Type objectType, IDeserializationContext context)
 => _deserializerFactory.Create(objectType, context);