Table of Contents

Method Validate

Namespace
AvroSharp.Generic
Assembly
AvroSharp.dll

Validate(in AvroValue)

Checks that a value can be written with Schema, by writing it to an output that discards it: the checks are the writer's own, and nothing is kept.

public void Validate(in AvroValue value)

Parameters

value AvroValue

The value.

Exceptions

AvroException

The value does not match the schema; the message names the field.