Table of Contents

Method Equals

Namespace
AvroSharp.Generic
Assembly
AvroSharp.dll

Equals(AvroValue)

Compares structurally: same kind and equal contents. Floating-point values compare by bit pattern (so NaN equals NaN), byte arrays and fixed values by content, arrays in order, maps by key, records by schema name and field values, enums by schema name and ordinal.

public bool Equals(AvroValue other)

Parameters

other AvroValue

The other value.

Returns

bool

Equals(object?)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and this instance are the same type and represent the same value; otherwise, false.