ArrayDeserializerBuilderCase class

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

Constructors

ArrayDeserializerBuilderCase(IBinaryCodec, IBinaryDeserializerBuilder)
Creates a new array 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 item deserializers.

Methods

IBinaryDeserializerBuildResult BuildExpression(TypeResolution, Schema, IBinaryDeserializerBuilderContext)
Builds an array deserializer for a type-schema pair.
Expression CreateIntermediateCollection(ArrayResolution)
Creates an expression that represents instantiating a collection.
ConstructorResolution FindEnumerableConstructor(ArrayResolution)
Attempts to find a constructor that takes a single enumerable parameter.
Expression GenerateConversion(Expression, Type)
Generates a conversion from the intermediate type to the target type.
Chr.Avro