TermsFuzzyComparer Class

Implementation of IEqualityComparer<T> which compares Term instances according to their children count.

It works according to the following rule: if one of the instances allows to handle any amount of children then Terms are considered as equal.

Definition

Namespace: SMath.Manager
Assembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
C#
public class TermsFuzzyComparer : IEqualityComparer<IPrimitive>
Inheritance
Object    TermsFuzzyComparer
Implements
IEqualityComparer<IPrimitive>

Constructors

TermsFuzzyComparerInitializes a new instance of the TermsFuzzyComparer class

Methods

Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Equals(IPrimitive, IPrimitive)Determines whether the specified objects are equal.
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetHashCode(IPrimitive)Returns a hash code for the specified object.
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also