Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Latest commit

 

History

History
72 lines (41 loc) · 2.53 KB

File metadata and controls

72 lines (41 loc) · 2.53 KB

LiteralComparer.Equals Method

Home

Containing Type: LiteralComparer

Assembly: Pihrtsoft.Snippets.dll

Overloads

Method Summary
Equals(Literal, Literal) Indicates whether two literals are equal. (Implements IEqualityComparer<Literal>.Equals)
Equals(Object, Object) Indicates whether two objects are equal. (Implements IEqualityComparer.Equals)

Equals(Literal, Literal)


Indicates whether two literals are equal.

public bool Equals(Pihrtsoft.Snippets.Literal x, Pihrtsoft.Snippets.Literal y)

Parameters

xLiteral

A Literal to compare to y.

yLiteral

A Literal to compare to x.

Returns

Boolean

true if x and y refer to the same object, or x and y are null, or x and y are equal; otherwise, false.

Implements

Equals(Object, Object)


Indicates whether two objects are equal.

public bool Equals(object x, object y)

Parameters

xObject

An object to compare to y.

yObject

An object to compare to x.

Returns

Boolean

true if x and y refer to the same object, or x and y are both the same type of object and those objects are equal; otherwise, false.

Implements