Type for representing generic JavaScript values More...
Public Member Functions | |
Value () | |
Create a null value More... | |
Value (bool value) | |
Create a boolean value More... | |
Value (int value) | |
Create an integer value More... | |
Value (uint value) | |
Create an unsigned integer value More... | |
Value (sbyte value) | |
Create a signed byte value More... | |
Value (byte value) | |
Create a byte value More... | |
Value (float value) | |
Create a float value More... | |
Value (double value) | |
Create a double value More... | |
Value (string value) | |
Create a string value More... | |
Value (Value[] value) | |
Create an array value More... | |
Value (Dictionary< string, Value > value) | |
Create an object value More... | |
Value (ValueObject value) | |
Create an object value More... | |
override bool | Equals (object obj) |
Compare to another object More... | |
override int | GetHashCode () |
Hash code for Value More... | |
Static Public Member Functions | |
static implicit | operator bool (Value value) |
cast a value to a boolean More... | |
static implicit | operator int (Value value) |
cast a value to an int More... | |
static implicit | operator uint (Value value) |
cast a value to an uint More... | |
static implicit | operator sbyte (Value value) |
cast a value to a signed byte More... | |
static implicit | operator byte (Value value) |
cast a value to a byte More... | |
static implicit | operator float (Value value) |
cast a value to a float More... | |
static implicit | operator double (Value value) |
cast a value to a double More... | |
static implicit | operator string (Value value) |
cast a value to a string More... | |
static implicit | operator Value[] (Value value) |
cast a value to an array More... | |
static implicit | operator Dictionary< string, Value > (Value value) |
cast a value to a dictionary of properties More... | |
static bool | operator== (Value lhs, Value rhs) |
Compares two Value objects More... | |
static bool | operator!= (Value lhs, Value rhs) |
Compares two Value objects More... | |
Public Attributes | |
ValueType | Type |
The type of the data stored in this Value instance More... | |
Type for representing generic JavaScript values
|
inline |
Create a null value
|
inline |
Create a boolean value
value | the integer value of the Value object |
|
inline |
Create an integer value
value | the integer value of the Value object |
|
inline |
Create an unsigned integer value
value | the unsigned integer value of the Value object |
|
inline |
Create a signed byte value
value | the signed byte value of the Value object |
|
inline |
Create a byte value
value | the byte value of the Value object |
|
inline |
Create a float value
value | the float value of the Value object |
|
inline |
Create a double value
value | the double value of the Value object |
|
inline |
Create a string value
value | the string value of the Value object |
|
inline |
Create an array value
value | the array value of the Value object |
|
inline |
Create an object value
value | dictionary of properties of the Value object |
|
inline |
Create an object value
value | dictionary of properties of the Value object |
|
inline |
|
inline |
Hash code for Value
|
inlinestatic |
cast a value to a boolean
value | value to be casted |
|
inlinestatic |
cast a value to a byte
value | value to be cast |
|
inlinestatic |
cast a value to a dictionary of properties
value | value to be casted |
|
inlinestatic |
cast a value to a double
value | value to be casted |
|
inlinestatic |
cast a value to a float
value | value to be casted |
|
inlinestatic |
cast a value to an int
value | value to be casted |
|
inlinestatic |
cast a value to a signed byte
value | value to be cast |
|
inlinestatic |
cast a value to a string
value | value to be casted |
|
inlinestatic |
cast a value to an uint
value | value to be casted |
cast a value to an array
value | value to be casted |
Compares two Value objects
lhs | object to be compared |
rhs | object to be compared |
Compares two Value objects
lhs | object to be compared |
rhs | object to be compared |