CLab# 1.0 API Documentation

CSPTypeEnum Members

CSPTypeEnum overview

Public Instance Constructors

CSPTypeEnum Constructor Initializes a new instance of the "CSPTypeEnumerator" class.

Public Instance Properties

End (inherited from CSPType) Gets or sets the end of the range.
TypeName (inherited from CSPType) Gets or sets the name of the type.

Public Instance Methods

AddConstant Adds a new enumeration domain value (constant). This method makes a mapping from string representation to int representation and vice versa.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetIntRepOfDomainString Gets the int representation of the string representation of a domain value. Uses the internal mapping from string to int.
GetStringRepOfDomainInt Gets the string representation of an int within the range of a type. Uses the internal mapping from int to string.
GetType (inherited from Object)Gets the Type of the current instance.
ToString Returns a "System.String" that represents the current "CLab.CSP.CSPTypeEnum".
TypeFormat Returns the "CPTypes.enum_type" constant.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

CSPTypeEnum Class | CLab.CSP Namespace