public void Register <TCarrier>(IFormat <TCarrier> format, Codec <TCarrier> codec) { _injectors[format] = new ExceptionCatchingInjectorDecorator(codec, _logger); _extractors[format] = new ExceptionCatchingExtractorDecorator(codec, _logger); }
public void Register <TCarrier>(IFormat <TCarrier> format, Extractor <TCarrier> extractor) { _extractors[format] = new ExceptionCatchingExtractorDecorator(extractor, _logger); }