Class EventId
Represents a unique identifier wrapper for scheduler events and resources that provides type-safe key value handling and comparison functionality.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public class EventId : IComparable
Constructors
EventId()
EventId(Object)
Initializes a new instance of the EventId class with the specified key value.
Declaration
public EventId(object keyValue)
Parameters
|
System.Object
keyValue
The object that serves as the unique identifier. |
Properties
KeyValue
Gets the underlying key value that uniquely identifies this event or resource.
Declaration
public object KeyValue { get; }
Property Value
|
System.Object
|
Methods
Equals(Object)
Determines whether the specified object is equal to this EventId instance.
Declaration
public override bool Equals(object obj)
Parameters
|
System.Object
obj
The object to compare with this instance. |
Returns
|
System.Boolean
|
Overrides
GetHashCode()
Returns a hash code for this EventId instance.
Declaration
public override int GetHashCode()
Returns
|
System.Int32
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |
Overrides
ToString()
Returns a string that represents this EventId instance.
Declaration
public override string ToString()
Returns
|
System.String
A string representation of the key value, or the base object string if the key value is null. |
Overrides
Explicit Interface Implementations
IComparable.CompareTo(Object)
Compares this instance with another object and returns an integer that indicates whether this instance precedes, follows, or occurs in the same position in the sort order as the other object.
Declaration
int IComparable.CompareTo(object other)
Parameters
|
System.Object
other
The object to compare with this instance. |
Returns
|
System.Int32
A value that indicates the relative order of the objects being compared. |
Implements
Exceptions
|
System.ArgumentException
Thrown when the object is not of type EventId or when the key value does not implement System.IComparable. |