Click or drag to resize

cCoreEnumNamesIndex Class

Helper class; creates and maintains quick lookup tables of string representations of enumerated types defined in the Core.
Inheritance Hierarchy
SystemObject
  EwECorecCoreEnumNamesIndex

Namespace:  EwECore
Assembly:  EwECore (in EwECore.dll) Version: 6.6.15981.0 (6.6.15981.0)
Syntax
public class cCoreEnumNamesIndex

The cCoreEnumNamesIndex type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetDataType
Returns a eDataTypes enum value.
Public methodGetDataTypeName
Returns a eDataTypes enum name.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodStatic memberGetInstance
Get the one and only instance of this class.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetVarName(String)
Returns a eVarNameFlags enum value.
Public methodGetVarName(eVarNameFlags)
Returns a eVarNameFlags enum name.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodValue
Extension method; extract a value from an object by property name.
(Defined by Extensions.)
Top
Remarks
The dotNET mechanism for converting enum values to a string representation is dreadfully slow. This class provides a redundant but bloody fast way to find this string representation by indexing all string representations once.
See Also