C# Class Fan.Sys.Enum

Enum base class.
Inheritance: FanObj
Mostrar archivo Open project: xored/f4 Class Usage Examples

Public Methods

Method Description
@typeof ( ) : Type
compare ( object obj ) : long
make ( long ordinal, string name ) : Enum
make_ ( Enum self, long ordinal, string name ) : void
name ( ) : string
ordinal ( ) : long
toStr ( ) : string

Protected Methods

Method Description
doFromStr ( Type t, string name, bool check ) : Enum

Method Details

@typeof() public method

public @typeof ( ) : Type
return Type

compare() public final method

public final compare ( object obj ) : long
obj object
return long

doFromStr() protected static method

protected static doFromStr ( Type t, string name, bool check ) : Enum
t Type
name string
check bool
return Enum

make() public static method

public static make ( long ordinal, string name ) : Enum
ordinal long
name string
return Enum

make_() public static method

public static make_ ( Enum self, long ordinal, string name ) : void
self Enum
ordinal long
name string
return void

name() public method

public name ( ) : string
return string

ordinal() public method

public ordinal ( ) : long
return long

toStr() public method

public toStr ( ) : string
return string