|
This method can be used to determine whether the specified
object is equal to the current object.
Objects are considered equal if they have the same content - so
this method determines value equality rather than object
equality.
The function taking an object is required as part of the .NET
framework, it performs exactly the same task as the function taking
an Atom.
The override taking a ComparisonType allows you to choose
between different ways of evaluating equality. The enum is flags
based so you can combine different options. Only if all options
evaluate to true will true be returned.
The ComparisonType provides the following options:
- None - Equal as long as the other atom is not null.
- Object - Equal if the atoms are object equal.
- Atom - Equal if the atoms are value equal.
|