CustomerEvent

CustomerEvent class

Represents an event.

public class CustomerEvent : IComparable<CustomerEvent>, IEquatable<CustomerEvent>

Constructors

Name Description
CustomerEvent() The default constructor.

Properties

Name Description
Category { get; set; } Gets or sets an object category
Date { get; set; } Gets or sets a date and time for an event.

Methods

Name Description
virtual CompareTo(CustomerEvent) Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Equals(CustomerEvent) Determines whether the specified Object is equal to the current Object.
override Equals(object) Determines whether the specified Object is equal to the current Object.
Equals(CustomerEvent, CustomerEvent) Determines whether the specified object instances are considered equal.
override GetHashCode() GetHashCode returns a hash function for this object.
GetHashCode(CustomerEvent) GetHashCode returns a hash function for specified object.
override ToString() Returns a string that represents the current object.
operator == Determines whether the specified objects are equal.
operator != Determines whether the specified objects are not equal.

See Also