AssociatedPersonCategory

AssociatedPersonCategory class

Represents category for a persons

public class AssociatedPersonCategory : IEquatable<AssociatedPersonCategory>

Constructors

Name Description
AssociatedPersonCategory(string) Initializes a new instance of the AssociatedPersonCategory class with ‘Custom’ category.

Properties

Name Description
static Assistant { get; } Assistant
static Brother { get; } Brother
static Child { get; } Child
static Custom { get; } Custom category with empty description
static DomesticPartner { get; } Domestic partner
static Father { get; } Father
static Friend { get; } Friend
static Manager { get; } Manager
static Mother { get; } Mother
static Parent { get; } Parent
static Partner { get; } Partner
static ReferredBy { get; } Referred by
static Relative { get; } Relative
static Sister { get; } Sister
static Spouse { get; } Spouse
Description { get; } Gets description for the ‘Custom’ category of a person
Value { get; } Gets category of a person

Methods

Name Description
virtual Equals(AssociatedPersonCategory) 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 AssistantValue String value for ‘Assistant’ category
const BrotherValue String value for ‘Brother’ category
const ChildValue String value for ‘Child’ category
const CustomValue String value for ‘Custom’ category
const DomesticPartnerValue String value for ‘DomesticPartner’ category
const FatherValue String value for ‘Father’ category
const FriendValue String value for ‘Friend’ category
const ManagerValue String value for ‘Manager’ category
const MotherValue String value for ‘Mother’ category
const ParentValue String value for ‘Parent’ category
const PartnerValue String value for ‘Partner’ category
const ReferredByValue String value for ‘ReferredBy’ category
const RelativeValue String value for ‘Relative’ category
const SisterValue String value for ‘Sister’ category
const SpouseValue String value for ‘Spouse’ category

See Also