Class IntervalEqualityComparer
Defines methods to support the comparison of IntervalBase objects for equality.
Inheritance
Namespace: Telerik.Windows.Controls.TimeBar
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class IntervalEqualityComparer : Object, IEqualityComparer<IntervalBase>
Constructors
IntervalEqualityComparer()
Declaration
public IntervalEqualityComparer()
Methods
Equals(IntervalBase, IntervalBase)
Determines whether the specified IntervalBase objects are equal.
Declaration
public bool Equals(IntervalBase x, IntervalBase y)
Parameters
IntervalBase
x
The first IntervalBase to compare. |
IntervalBase
y
The second IntervalBase to compare. |
Returns
System.Boolean
|
GetHashCode(IntervalBase)
Returns a hash code for the specified object.
Declaration
public int GetHashCode(IntervalBase obj)
Parameters
IntervalBase
obj
The IntervalBase for which a hash code is to be returned. |
Returns
System.Int32
A hash code for the specified IntervalBase. |