Containing Type: LiteralComparer
Assembly: Pihrtsoft.Snippets.dll
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) |
Indicates whether two literals are equal.
public bool Equals(Pihrtsoft.Snippets.Literal x, Pihrtsoft.Snippets.Literal y)
x Literal
A Literal to compare to y.
y Literal
A Literal to compare to x.
true
if x and y refer to the same object, or x and y are null
, or x and y are equal; otherwise, false
.
Indicates whether two objects are equal.
public bool Equals(object x, object y)
x Object
An object to compare to y.
y Object
An object to compare to x.
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
.