Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 public AvroMessageSerializer(IMessageCreationStrategy messageCreationStrategy, ISchemaLookupStrategy writerAndReaderSchemaLookupStrategy)
     : this(messageCreationStrategy, writerAndReaderSchemaLookupStrategy, writerAndReaderSchemaLookupStrategy)
 {
 }
Esempio n. 3
0
 public AvroMessageSerializer(ILoggerFactory loggerFactory, IMessageCreationStrategy messageCreationStrategy, ISchemaLookupStrategy writerAndReaderSchemaLookupStrategy)
     : this(loggerFactory, messageCreationStrategy, writerAndReaderSchemaLookupStrategy, writerAndReaderSchemaLookupStrategy)
 {
 }