public AvroMessageSerializer(IMessageCreationStrategy messageCreationStrategy, ISchemaLookupStrategy writerSchemaLookupStrategy, ISchemaLookupStrategy readerSchemaLookupStrategy) : this() { MessageFactory = (Type type) => messageCreationStrategy.Create(type); WriteSchemaLookup = (Type type) => writerSchemaLookupStrategy.Lookup(type); ReadSchemaLookup = (Type type) => readerSchemaLookupStrategy.Lookup(type); }
public AvroMessageSerializer(IMessageCreationStrategy messageCreationStrategy, ISchemaLookupStrategy writerAndReaderSchemaLookupStrategy) : this(messageCreationStrategy, writerAndReaderSchemaLookupStrategy, writerAndReaderSchemaLookupStrategy) { }
public AvroMessageSerializer(ILoggerFactory loggerFactory, IMessageCreationStrategy messageCreationStrategy, ISchemaLookupStrategy writerAndReaderSchemaLookupStrategy) : this(loggerFactory, messageCreationStrategy, writerAndReaderSchemaLookupStrategy, writerAndReaderSchemaLookupStrategy) { }