|
override string | ToString () |
|
virtual bool | IsUndefined () |
| Indicates whether JavaScript value is undefined. More...
|
|
virtual bool | IsObject () |
| Indicates whether JavaScript value is an object. If this method returns true, then the value can be casted to JSObject type. For example: More...
|
|
virtual bool | IsFunction () |
| Indicates whether JavaScript value is a function. If this method returns true, then the value can be casted to JSFunction type. For example: More...
|
|
virtual bool | IsNull () |
| Indicates whether JavaScript value is NULL. More...
|
|
bool | IsTrue () |
| Indicates whether JavaScript value represents bool TRUE value. More...
|
|
bool | IsFalse () |
| Indicates whether JavaScript value represents bool FALSE value. More...
|
|
virtual bool | IsString () |
| Indicates whether JavaScript value is a string. If this method returns true, then the value can be casted to JSString type. For example: More...
|
|
virtual bool | IsJSON () |
| Indicates whether JavaScript value is a string in JSON format. More...
|
|
virtual bool | IsBool () |
| Indicates whether JavaScript value is a boolean value. If this method returns true, then the value can be casted to JSBoolean type. For example: More...
|
|
virtual bool | IsNumber () |
| Indicates whether JavaScript value is a number value which equals to double type. If this method returns true, then the value can be casted to JSNumber type. For example: More...
|
|
virtual bool | IsArray () |
| Indicates whether JavaScript value is an array. If this method returns true, then the value can be casted to JSArray type. For example: More...
|
|
virtual bool | IsBooleanObject () |
| Indicates whether JavaScript value is a JSBoolean object. If this method returns true, then the value can be casted to JSBooleanObject type. For example: More...
|
|
virtual bool | IsNumberObject () |
| Indicates whether JavaScript value is a Number object. If this method returns true, then the value can be casted to JSNumberObject type. For example: More...
|
|
virtual bool | IsStringObject () |
| Indicates whether JavaScript value is a String object. If this method returns true, then the value can be casted to JSStringObject type. For example: More...
|
|
virtual bool | IsDotNetObject () |
| Indicates whether JavaScript value is a .NET object. If this method returns true, then the value can be cast to Object type. For example: More...
|
|
virtual JSBoolean | AsBoolean () |
| Casts the current JavaScript object to JSBoolean type. If the current object doesn't represent a Boolean object, the InvalidCastException error is thrown. More...
|
|
virtual JSFunction | AsFunction () |
| Casts the current JavaScript object to JSFunction type. If the current object doesn't represent a function, the InvalidCastException error is thrown. More...
|
|
virtual JSBooleanObject | AsBooleanObject () |
| Casts the current JavaScript object to JSBooleanObject type. If the current object doesn't represent a Boolean object, the InvalidCastException error is thrown. More...
|
|
virtual JSNumber | AsNumber () |
| Casts the current JavaScript object to JSNumber type. If the current object doesn't represent a number value, the InvalidCastException error is thrown. More...
|
|
virtual JSNumberObject | AsNumberObject () |
| Casts the current JavaScript object to JSNumberObject type. If the current object doesn't represent a Number object, the InvalidCastException error is thrown. More...
|
|
virtual JSArray | AsArray () |
| Casts the current JavaScript object to JSArray type. If the current object doesn't represent an array, the InvalidCastException error is thrown. More...
|
|
virtual JSObject | AsObject () |
| Casts the current JavaScript object to JSObject type. If the current object doesn't represent an object (e.g. it's a primitive value), the InvalidCastException error is thrown. More...
|
|
virtual JSString | AsString () |
| Casts the current JavaScript object to JSString type. If the current object doesn't represent a string value, the InvalidCastException error is thrown. More...
|
|
virtual JSStringObject | AsStringObject () |
| Casts the current JavaScript object to JSStringObject type. If the current object doesn't represent a String object, the InvalidCastException error is thrown. More...
|
|
virtual object | AsDotNetObject () |
| Casts the current JavaScript object to Object type. If the current object doesn't represent a .NET object, the InvalidCastException error is thrown. More...
|
|
virtual bool | GetBool () |
| Returns boolean value of the current JavaScript object if object represents a primitive boolean or Boolean object, otherwise throws InvalidOperationException. More...
|
|
virtual double | GetNumber () |
| Returns number value of the current JavaScript object if object represents a primitive number or Number object, otherwise throws InvalidOperationException. More...
|
|
virtual string | GetString () |
| Returns string value of the current JavaScript object if object represents a primitive string or String object, otherwise throws InvalidOperationException. More...
|
|
An abstract class for JavaScript primitive types.
- Template Parameters
-
T | corresponding .NET primitive type. |