Class EventCategory

EventCategory class

Represents category for an event

public class EventCategory : IEquatable<EventCategory>

Constructors

NameDescription
EventCategory(string)Initializes a new instance of the ‘Custom’ EventCategory.

Properties

NameDescription
static Anniversary { get; }Anniversary
static Birthday { get; }Birthday
static Custom { get; }Custom description
Description { get; }Gets description for the ‘Custom’ category of an event
Value { get; }Gets string representation of an event category

Methods

NameDescription
virtual Equals(EventCategory)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.
override GetHashCode()GetHashCode returns a hash function for this 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.

Fields

NameDescription
const AnniversaryValueString value for ‘Anniversary’ category
const BirthdayValueString value for ‘Birthday’ category
const CustomValueString value for ‘Custom’ category

See Also