| Name | |
|---|---|
| override string | ToString() Returns the string name for the enumerated type. |
| string | toString() Returns the string name for the enumerated type. |
| int | getValue() Returns the integer value for the type. This value can be used in switch statements against the public XXX_VALUE const members of the class. |
| bool | equals(MamdaOrderImbalanceSide imbalanceSide) Compare the two types for equality. |
| override bool | Equals(object obj) |
| override int | GetHashCode() |
| bool | operator==(MamdaOrderImbalanceSide left, MamdaOrderImbalanceSide right) |
| bool | operator!=(MamdaOrderImbalanceSide left, MamdaOrderImbalanceSide right) |
| String | valueToString(int value) Utility method for mapping type integer values to corresponding string values. |
| MamdaOrderImbalanceSide | enumObjectForValue(int value) Return an instance of a MamdaOrderImbalanceSide corresponding to the specified integer value. Returns null if the integer value is not recognised. |
| Name | |
|---|---|
| const int | BID_SIDE_VALUE |
| readonly MamdaOrderImbalanceSide | BID_SIDE |
| const int | ASK_SIDE_VALUE |
| readonly MamdaOrderImbalanceSide | ASK_SIDE |
| const int | NO_IMBALANCE_VALUE |
| readonly MamdaOrderImbalanceSide | NO_IMBALANCE_SIDE |
override string ToString()
Returns the string name for the enumerated type.
Return: Name for the type.
string toString()
Returns the string name for the enumerated type.
Return: Name for the type.
int getValue()
Returns the integer value for the type. This value can be used in switch statements against the public XXX_VALUE const members of the class.
Return: The integer type.
bool equals(
MamdaOrderImbalanceSide imbalanceSide
)
Compare the two types for equality.
Parameters:
Return: Returns true if the integer value of both types is equal. Otherwise returns false.
override bool Equals(
object obj
)
override int GetHashCode()
static bool operator==(
MamdaOrderImbalanceSide left,
MamdaOrderImbalanceSide right
)
static bool operator!=(
MamdaOrderImbalanceSide left,
MamdaOrderImbalanceSide right
)
static String valueToString(
int value
)
Utility method for mapping type integer values to corresponding string values.
Parameters:
Return: The string name value of the specified MamdaOrderImbalanceSide integer value
Returns “UNKNOWN” is the int type value is not recognised.
static MamdaOrderImbalanceSide enumObjectForValue(
int value
)
Return an instance of a MamdaOrderImbalanceSide corresponding to the specified integer value. Returns null if the integer value is not recognised.
Parameters:
Return: Instance of a MamdaOrderImbalanceSide if a mapping exists.
static const int BID_SIDE_VALUE = 0;
BID_SIDE_IMBALANCE
static readonly MamdaOrderImbalanceSide BID_SIDE =
new MamdaOrderImbalanceSide(valueToString(BID_SIDE_VALUE), BID_SIDE_VALUE);
static const int ASK_SIDE_VALUE = 1;
ASK_SIDE_IMBALANCE
static readonly MamdaOrderImbalanceSide ASK_SIDE =
new MamdaOrderImbalanceSide(valueToString(ASK_SIDE_VALUE), ASK_SIDE_VALUE);
static const int NO_IMBALANCE_VALUE = 2;
NO_IMBALANCE
static readonly MamdaOrderImbalanceSide NO_IMBALANCE_SIDE =
new MamdaOrderImbalanceSide(valueToString(NO_IMBALANCE_VALUE), NO_IMBALANCE_VALUE);
Updated on 2023-03-31 at 15:30:13 +0100