UnionDeserializerBuilderCase class

A deserializer builder case that matches UnionSchema and attempts to map it to any provided type.
AssemblyChr.Avro.Binary
NamespaceChr.Avro.Serialization
Signature
public class UnionDeserializerBuilderCase : Chr.Avro.Serialization.BinaryDeserializerBuilderCase
BaseBinaryDeserializerBuilderCase

Constructors

UnionDeserializerBuilderCase(IBinaryCodec, IBinaryDeserializerBuilder)
Creates a new record 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 child deserializers.

Methods

IBinaryDeserializerBuildResult BuildExpression(TypeResolution, Schema, IBinaryDeserializerBuilderContext)
Builds a union deserializer for a type-schema pair.
TypeResolution SelectType(TypeResolution, Schema)
Customizes type resolutions for the children of a union schema. Can be overriden by custom cases to support polymorphic mapping.
Chr.Avro