Class ScheduleAppointmentList.StartDateComparer
IComparer implementation that uses the StartTime/EndTime in its comparison.
Inheritance
System.Object
ScheduleAppointmentList.StartDateComparer
Implements
System.Collections.IComparer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Schedule
Assembly: Syncfusion.Schedule.Base.dll
Syntax
public class StartDateComparer : IComparer
Constructors
StartDateComparer()
Declaration
public StartDateComparer()
Methods
Compare(Object, Object)
Compares two ScheduleAppointment objects and returns a value indicating whether one is less than, equal to, or greater than the other.
Declaration
public int Compare(object x, object y)
Parameters
Type | Name | Description |
---|---|---|
System.Object | x | First item. |
System.Object | y | Second item |
Returns
Type | Description |
---|---|
System.Int32 | 1 if x > y, -1 if x < y and zero otherwise. |
Implements
System.Collections.IComparer