Table of Contents

Struct AvroFieldContext

Namespace
AvroSharp.Generic
Assembly
AvroSharp.dll

Where a value handed to an AvroFieldTransform is: the record field, and the value's schema.

public readonly struct AvroFieldContext : IEquatable<AvroFieldContext>
Implements
Inherited Members

Properties

Field

Gets the field that holds the value, with its properties (for example the tags that data rules match).

FullName

Gets the field's full name: the record's full name, a dot, and the field's name, as Confluent's data rules name fields.

Record

Gets the record whose field holds the value.

Schema

Gets the value's own schema: the field's type, or for a value in an array, map or union, the item, value or branch schema it has.

Methods

Equals(AvroFieldContext)

Indicates whether the current object is equal to another object of the same type.

Equals(object?)

Indicates whether this instance and a specified object are equal.

GetHashCode()

Returns the hash code for this instance.

Operators

operator ==(AvroFieldContext, AvroFieldContext)

Compares two contexts: equal when they name the same record, field and schema instances.

operator !=(AvroFieldContext, AvroFieldContext)

Compares two contexts: different unless they name the same record, field and schema instances.

See Also