MapDeserializerBuilderCase class

A deserializer builder case that matches MapSchema and attempts to map it to dictionary types.
AssemblyChr.Avro.Binary
NamespaceChr.Avro.Serialization
Signature
public class MapDeserializerBuilderCase : Chr.Avro.Serialization.BinaryDeserializerBuilderCase
BaseBinaryDeserializerBuilderCase

Constructors

MapDeserializerBuilderCase(IBinaryCodec, IBinaryDeserializerBuilder)
Creates a new map deserializer builder case.

Properties

IBinaryCodec Codec
The codec that generated deserializers should use for read operations.
IBinaryDeserializerBuilder DeserializerBuilder
The deserializer builder to use to build key and value deserializers.

Methods

IBinaryDeserializerBuildResult BuildExpression(TypeResolution, Schema, IBinaryDeserializerBuilderContext)
Builds an map deserializer for a type-schema pair.
Expression CreateIntermediateDictionary(MapResolution)
Creates an expression that represents instantiating a dictionary.
ConstructorResolution FindDictionaryConstructor(MapResolution)
Attempts to find a constructor that takes a single dictionary parameter.
Expression GenerateConversion(Expression, Type)
Generates a conversion from the intermediate type to the target type.
Chr.Avro