Skip to content

JsonEncodedText.Equals Method

Definition

Namespace: Corvus.Text.Json
Assembly: Corvus.Text.Json.dll

Overloads

Method Description
Equals(JsonEncodedText) Determines whether this instance and another specified JsonEncodedText instance have the same value.
Equals(object) Determines whether this instance and a specified object, which must also be a JsonEncodedText instance, have the same value.

Equals(JsonEncodedText)

Source: JsonEncodedText.cs

Determines whether this instance and another specified JsonEncodedText instance have the same value.

public bool Equals(JsonEncodedText other)

Parameters

Name Type Description
other JsonEncodedText

Returns

bool

Implements

IEquatable<JsonEncodedText>.Equals

Remarks

Default instances of JsonEncodedText are treated as equal.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

Equals(object)

Source: JsonEncodedText.cs

Determines whether this instance and a specified object, which must also be a JsonEncodedText instance, have the same value.

public override bool Equals(object obj)

Parameters

Name Type Description
obj object

Returns

bool

Remarks

If obj is null, the method returns false.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests.

Open an issue