Class
EventId

Represents a unique identifier wrapper for scheduler events and resources that provides type-safe key value handling and comparison functionality.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

cs-api-definition
public class EventId : IComparable

Inheritance: objectEventId

Implements: IComparable

Constructors

EventId()

Initializes a new instance of the EventId class with a null key value.

Declaration

cs-api-definition
public EventId()

EventId(object)

Initializes a new instance of the EventId class with the specified key value.

Declaration

cs-api-definition
public EventId(object keyValue)

Parameters

keyValue

object

The object that serves as the unique identifier.

Properties

KeyValue

Gets the underlying key value that uniquely identifies this event or resource.

Declaration

cs-api-definition
public object KeyValue { get; }

Property Value

object

Methods

Equals(object)

Determines whether the specified object is equal to this EventId instance.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

The object to compare with this instance.

Returns

bool

true if the specified object is equal to this instance; otherwise, false.

Overrides object.Equals(object)

GetHashCode()

Returns a hash code for this EventId instance.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Overrides object.GetHashCode()

ToString()

Returns a string that represents this EventId instance.

Declaration

cs-api-definition
public override string ToString()

Returns

string

A string representation of the key value, or the base object string if the key value is null.

Overrides object.ToString()