Méthode | Description | |
---|---|---|
EnumUserType ( Symbol symbol, string nameSpace ) : System |
Initializes a new instance of the EnumUserType class.
|
|
WriteCode ( IndentedWriter output, |
Writes the code for this user type to the specified output.
|
Méthode | Description | |
---|---|---|
AreValuesFlags ( ) : bool |
Checks whether values inside the enumeration are flags.
|
|
GetEnumBasicType ( Symbol symbol ) : string |
Gets the basic type string for the specified enumeration symbol.
|
|
IsPowerOfTwo ( long x ) : bool |
Determines whether the specified number is power of two.
|
public EnumUserType ( Symbol symbol, string nameSpace ) : System | ||
symbol | Symbol | The symbol we are generating this user type from. |
nameSpace | string | The namespace it belongs to. |
Résultat | System |
public WriteCode ( IndentedWriter output, |
||
output | IndentedWriter | The output. |
error | The error text writer. | |
factory | The user type factory. | |
generationFlags | UserTypeGenerationFlags | The user type generation flags. |
indentation | int | The current indentation. |
Résultat | void |