Class AssociatedPerson

AssociatedPerson class

Describes organization which is associated with a person.

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

Constructors

NameDescription
AssociatedPerson()The default constructor.

Properties

NameDescription
Category { get; set; }Gets or sets an object category
Name { get; set; }Gets or sets a name of a person
Prefered { get; set; }Gets or sets a value which defines whether object is preferred.

Methods

NameDescription
virtual CompareTo(AssociatedPerson)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(AssociatedPerson)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(AssociatedPerson, AssociatedPerson)Determines whether the specified object instances are considered equal.
override GetHashCode()GetHashCode returns a hash function for this object.
virtual GetHashCode(AssociatedPerson)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