Skip to content

Period.Equals Method

Definition

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

Overloads

Method Description
Equals(object) Compares the given object for equality with this one, as per Equals. See the type documentation for a description of equality semantics.
Equals(Period) Compares the given period for equality with this one. See the type documentation for a description of equality semantics.
Equals(Period) Compares the given period for equality with this one. See the type documentation for a description of equality semantics.

Equals(object)

Source: Period.cs

Compares the given object for equality with this one, as per Equals. See the type documentation for a description of equality semantics.

public override bool Equals(object other)

Parameters

Name Type Description
other object The value to compare this one with.

Returns

bool

true if the other object is a period equal to this one, consistent with Equals.

Applies To

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

Equals(Period)

Source: Period.cs

Compares the given period for equality with this one. See the type documentation for a description of equality semantics.

public bool Equals(Period other)

Parameters

Name Type Description
other Period The period to compare this one with.

Returns

bool

True if this period has the same values for the same properties as the one specified.

Implements

IEquatable<Period>.Equals

Applies To

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

Equals(Period)

Source: Period.cs

Compares the given period for equality with this one. See the type documentation for a description of equality semantics.

public bool Equals(Period other)

Parameters

Name Type Description
other Period The period to compare this one with.

Returns

bool

True if this period has the same values for the same properties as the one specified.

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