Base class for generated code representing an Alfa Enum.
More...
|
| AlfaEnum (int value, string name) |
|
|
int | Value [get] |
| Get the numeric value assigned to this Enum More...
|
|
string | Name [get] |
| Get the string constant for the Enum value More...
|
|
Base class for generated code representing an Alfa Enum.
◆ CompareTo()
int alfa.rt.AlfaEnum.CompareTo |
( |
AlfaEnum |
obj | ) |
|
|
inline |
Compare given AlfaEnum to self as per the contract of IComparable<AlfaEnum>
- Returns
- The to.
- Parameters
-
◆ descriptor()
Access the TypeDescriptor for this object
- Returns
- TypeDescriptor for this object
Implements alfa.rt.AlfaObject.
◆ ToString()
override string alfa.rt.AlfaEnum.ToString |
( |
| ) |
|
|
inline |
Convert to a string representation - the Enum contant name
- Returns
- A T:System.String that represents the current T:alfa.rt.AlfaEnum.
◆ Name
string alfa.rt.AlfaEnum.Name |
|
get |
Get the string constant for the Enum value
The name.
◆ Value
int alfa.rt.AlfaEnum.Value |
|
get |
Get the numeric value assigned to this Enum
The value.
The documentation for this class was generated from the following file:
- Alfa.Net.Runtime/src/main/alfa/rt/AlfaEnum.cs