Skip to content

JsonElementForBooleanFalseSchema.Equals Method

Definition

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

Overloads

Method Description
Equals(object) Determines whether the specified object is equal to the current instance.
Equals(T) Determines whether the specified JSON element is equal to the current instance.

Equals(object)

Source: JsonElementForBooleanFalseSchema.cs

Determines whether the specified object is equal to the current instance.

public override bool Equals(object obj)

Parameters

Name Type Description
obj object The object to compare with the current instance.

Returns

bool

true if the specified object is equal to the current instance; otherwise, false.

Applies To

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

Equals(T)

Source: JsonElementForBooleanFalseSchema.cs

Determines whether the specified JSON element is equal to the current instance.

public bool Equals<T>(T other)
    where T : struct, IJsonElement

Type Parameters

Parameter Description
T The type of the JSON element to compare.

Parameters

Name Type Description
other T The JSON element to compare with the current instance.

Returns

bool

true if the specified JSON element is equal to the current instance; otherwise, 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