C# Runtime  0.8
Public Member Functions | Protected Member Functions | Properties | List of all members
alfa.rt.AlfaEnum Class Referenceabstract

Base class for generated code representing an Alfa Enum. More...

Inheritance diagram for alfa.rt.AlfaEnum:
alfa.rt.AlfaObject

Public Member Functions

int CompareTo (AlfaEnum obj)
 Compare given AlfaEnum to self as per the contract of IComparable<AlfaEnum> More...
 
override string ToString ()
 Convert to a string representation - the Enum contant name More...
 
abstract ITypeDescriptor descriptor ()
 Access the TypeDescriptor for this object More...
 

Protected Member Functions

 AlfaEnum (int value, string name)
 

Properties

int Value [get]
 Get the numeric value assigned to this Enum More...
 
string Name [get]
 Get the string constant for the Enum value More...
 

Detailed Description

Base class for generated code representing an Alfa Enum.

Member Function Documentation

◆ 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
objObject.

◆ descriptor()

abstract ITypeDescriptor alfa.rt.AlfaEnum.descriptor ( )
pure virtual

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.

Property Documentation

◆ 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: