Click or drag to resize

StringEnum Class

imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Helper class for working with 'extended' enums using StringValueAttribute attributes.
Inheritance Hierarchy
SystemObject
  netDxfStringEnum

Namespace:  netDxf
Assembly:  netDXF.Standard (in netDXF.Standard.dll) Version: 2.1.1
Syntax
C#
public class StringEnum
Request Example View Source

The StringEnum type exposes the following members.

Constructors
  NameDescription
Public methodStringEnum
Creates a new StringEnum instance.
Top
Properties
  NameDescription
Public propertyEnumType
Gets the underlying enum type for this instance.
Top
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetListValues
Gets the values as a 'bindable' list data source.
Public methodStatic memberGetStringValue(Enum)
Gets a string value for a particular enum value.
Public methodGetStringValue(String)
Gets the string value associated with the given enum value.
Public methodGetStringValues
Gets the string values associated with the enum.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsStringDefined(String)
Return the existence of the given string value within the enum.
Public methodIsStringDefined(String, StringComparison)
Return the existence of the given string value within the enum.
Public methodStatic memberIsStringDefined(Type, String)
Return the existence of the given string value within the enum.
Public methodStatic memberIsStringDefined(Type, String, StringComparison)
Return the existence of the given string value within the enum.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberParse(Type, String)
Parses the supplied enum and string value to find an associated enum value (case sensitive).
Public methodStatic memberParse(Type, String, StringComparison)
Parses the supplied enum and string value to find an associated enum value.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also