EventCategory

EventCategory class

Represents category for an event

public class EventCategory : IEquatable<EventCategory>

Constructors

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

Properties

Name Description
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

Name Description
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

Name Description
const AnniversaryValue String value for ‘Anniversary’ category
const BirthdayValue String value for ‘Birthday’ category
const CustomValue String value for ‘Custom’ category

See Also