RecordDeserializerBuilderCase class

A deserializer builder case that matches RecordSchema and attempts to map it to classes or structs using property/fields to set values.
AssemblyChr.Avro.Binary
NamespaceChr.Avro.Serialization
Signature
public class RecordDeserializerBuilderCase : Chr.Avro.Serialization.BinaryDeserializerBuilderCase
BaseBinaryDeserializerBuilderCase

Constructors

RecordDeserializerBuilderCase(IBinaryDeserializerBuilder)
Creates a new record deserializer builder case.

Properties

IBinaryDeserializerBuilder DeserializerBuilder
The deserializer builder to use to build field deserializers.

Methods

IBinaryDeserializerBuildResult BuildExpression(TypeResolution, Schema, IBinaryDeserializerBuilderContext)
Builds a record deserializer for a type-schema pair.
Schema CreateSurrogateSchema(Schema)
Creates a schema that can be used to deserialize missing record fields.
Type CreateSurrogateType(Schema)
Creates a type that can be used to deserialize missing record fields.
ConstructorResolution FindRecordConstructor(RecordResolution, RecordSchema)
Attempts to find a constructor with a matching parameter for each of a record schema’s fields.
Chr.Avro