SAFR Windows SDK
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events
RealNetworks.ArgusKit.Age Struct Reference

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...

Inheritance diagram for RealNetworks.ArgusKit.Age:

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...
 

Detailed Description

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.

Member Function Documentation

◆ Equals() [1/2]

bool RealNetworks.ArgusKit.Age.Equals ( Age  other)

Compares the receiver to another age.

Parameters
otherthe other age
Returns
true if equal; false otherwise

◆ Equals() [2/2]

override bool RealNetworks.ArgusKit.Age.Equals ( object  obj)

Compares the receiver to another age.

Parameters
objthe other age
Returns
true if equal; false otherwise

◆ GetHashCode()

override int RealNetworks.ArgusKit.Age.GetHashCode ( )

Returns a hash code for the receiver.

Returns
teh hash code

◆ operator!=()

static bool RealNetworks.ArgusKit.Age.operator!= ( Age  lhs,
Age  rhs 
)
static

Returns true if both ages / age ranges are different.

Parameters
lhsone age
rhsthe other age
Returns
true if different; false otherwise

◆ operator==()

static bool RealNetworks.ArgusKit.Age.operator== ( Age  lhs,
Age  rhs 
)
static

Returns true if both ages / age ranges are the same

Parameters
lhsone age
rhsthe other age
Returns
true if equal; false otherwise

◆ ToString()

override string RealNetworks.ArgusKit.Age.ToString ( )

Returns a debug description of the receiver.

Returns
the debug description

Property Documentation

◆ LowerBound

int RealNetworks.ArgusKit.Age.LowerBound
get

Returns the lower bound of the age range.

Returns
The lower bound.

◆ StringValue

string RealNetworks.ArgusKit.Age.StringValue
get

Returns a human-readable representation of the receiver suitable for display in a user interface.

Returns
a human-readable description

◆ UpperBound

int RealNetworks.ArgusKit.Age.UpperBound
get

Returns the upper bound of the age range.

Returns
The upper bound.