C#Code
C#Code
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes
Libraries.StringType Class Reference

List of all members.

Public Member Functions

 StringType (string value)
 StringType ()
override bool Equals (System.Object obj)
override int GetHashCode ()
object Clone ()
 StringType (string value)
override bool Equals (System.Object obj)
override int GetHashCode ()
object Clone ()
 StringType (string value)
override bool Equals (System.Object obj)
override int GetHashCode ()
object Clone ()
 StringType (string value)
override bool Equals (System.Object obj)
override int GetHashCode ()
object Clone ()

Static Public Member Functions

static bool operator== (StringType t1, StringType t2)
static bool operator!= (StringType t1, StringType t2)
static bool operator== (StringType t1, StringType t2)
static bool operator!= (StringType t1, StringType t2)
static bool operator== (StringType t1, StringType t2)
static bool operator!= (StringType t1, StringType t2)
static bool operator== (StringType t1, StringType t2)
static bool operator!= (StringType t1, StringType t2)

Public Attributes

readonly string m_string
 The string.

Static Public Attributes

static readonly StringType s_InvalidType = new StringType("InvalidType")

Detailed Description

Used as a ID object. It takes a string that can't be changed. I can then check them against each other to see if they are the same. This way I can create IDs that aren't just numbers, since strings make more sence when seeing the value :)


Constructor & Destructor Documentation

Libraries.StringType.StringType ( string  value)

Constructor.

value - String to store.
Libraries.StringType.StringType ( )

Constructor. This is only included to be used for serialization. Don't use this directly.

Libraries.StringType.StringType ( string  value)
Libraries.StringType.StringType ( string  value)
Libraries.StringType.StringType ( string  value)

Member Function Documentation

object Libraries.StringType.Clone ( )

Clone the object.

Return:
Value is the clone.

object Libraries.StringType.Clone ( )

Clone the object.
Return:
Value is the clone.

object Libraries.StringType.Clone ( )

Clone the object.
Return:
Value is the clone.

object Libraries.StringType.Clone ( )

Clone the object.

Return:
Value is the clone.

override bool Libraries.StringType.Equals ( System.Object  obj)

Overloaded Equals to check the string and a string.

override bool Libraries.StringType.Equals ( System.Object  obj)

Overloaded Equals to check the string and a string.

override bool Libraries.StringType.Equals ( System.Object  obj)

Overloaded Equals to check the string and a string.

override bool Libraries.StringType.Equals ( System.Object  obj)

Overloaded Equals to check the string and a string.

override int Libraries.StringType.GetHashCode ( )

Overloaded GetHashCode for some stupid unknown reason it is required.

override int Libraries.StringType.GetHashCode ( )

Overloaded GetHashCode for some stupid unknown reason it is required.

override int Libraries.StringType.GetHashCode ( )

Overloaded GetHashCode for some stupid unknown reason it is required.

override int Libraries.StringType.GetHashCode ( )

Overloaded GetHashCode for some stupid unknown reason it is required.

static bool Libraries.StringType.operator!= ( StringType  t1,
StringType  t2 
) [static]

Overloaded != to check two of the same type.

static bool Libraries.StringType.operator!= ( StringType  t1,
StringType  t2 
) [static]

Overloaded != to check two of the same type.

static bool Libraries.StringType.operator!= ( StringType  t1,
StringType  t2 
) [static]

Overloaded != to check two of the same type.

static bool Libraries.StringType.operator!= ( StringType  t1,
StringType  t2 
) [static]

Overloaded != to check two of the same type.

static bool Libraries.StringType.operator== ( StringType  t1,
StringType  t2 
) [static]

Overloaded == to check two of the same type.

static bool Libraries.StringType.operator== ( StringType  t1,
StringType  t2 
) [static]

Overloaded == to check two of the same type.

static bool Libraries.StringType.operator== ( StringType  t1,
StringType  t2 
) [static]

Overloaded == to check two of the same type.

static bool Libraries.StringType.operator== ( StringType  t1,
StringType  t2 
) [static]

Overloaded == to check two of the same type.


Member Data Documentation

The string.

static readonly StringType Libraries.StringType::s_InvalidType = new StringType("InvalidType") [static]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Enumerations Properties