Click or drag to resize
EnumModel Class
Holds an enum value as an integer and a localised description of the enum value. Used to carry lists of enums (or other fixed values) to web interfaces.
Inheritance Hierarchy
SystemObject
  VirtualRadar.Interface.ViewEnumModel

Namespace: VirtualRadar.Interface.View
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class EnumModel

The EnumModel type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyDescription
Gets or sets the localised description of the enum.
Public propertyValue
Gets or sets the enum value.
Top
Methods
  NameDescription
Public methodStatic memberCastFromIntT
Casts an integer back to an enum value. Throws an InvalidCastException if the integer is not one of the enum's values.
Public methodStatic memberCreateFromEnumT
Creates a sorted array of records for an enum.
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 a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberIsInRangeT
Returns true if the value passed across is an valid value for the enum type parameter.
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
See Also