Represents an age or age range. If the lower and the upper bound are the same value then this object represents an exact age. Otherwise it represents an age range. More...
Public Member Functions | |
override string | ToString () |
Returns a debug description of the receiver. More... | |
override int | GetHashCode () |
Returns a hash code for the receiver. More... | |
override bool | Equals (object obj) |
Compares the receiver to another age. More... | |
bool | Equals (Age other) |
Compares the receiver to another age. More... | |
Static Public Member Functions | |
static bool | operator== (Age lhs, Age rhs) |
Returns true if both ages / age ranges are the same More... | |
static bool | operator!= (Age lhs, Age rhs) |
Returns true if both ages / age ranges are different. More... | |
Properties | |
int | LowerBound [get] |
Returns the lower bound of the age range. More... | |
int | UpperBound [get] |
Returns the upper bound of the age range. More... | |
string | StringValue [get] |
Returns a human-readable representation of the receiver suitable for display in a user interface. More... | |
Represents an age or age range. If the lower and the upper bound are the same value then this object represents an exact age. Otherwise it represents an age range.
bool RealNetworks.ArgusKit.Age.Equals | ( | Age | other | ) |
Compares the receiver to another age.
other | the other age |
override bool RealNetworks.ArgusKit.Age.Equals | ( | object | obj | ) |
Compares the receiver to another age.
obj | the other age |
override int RealNetworks.ArgusKit.Age.GetHashCode | ( | ) |
Returns a hash code for the receiver.
Returns true if both ages / age ranges are different.
lhs | one age |
rhs | the other age |
Returns true if both ages / age ranges are the same
lhs | one age |
rhs | the other age |
override string RealNetworks.ArgusKit.Age.ToString | ( | ) |
Returns a debug description of the receiver.
|
get |
Returns the lower bound of the age range.
|
get |
Returns a human-readable representation of the receiver suitable for display in a user interface.
|
get |
Returns the upper bound of the age range.