![]() |
BadScript 2
|
Public Member Functions | |
override BadClassPrototype | GetPrototype () |
override bool | HasProperty (string propName, BadScope? caller=null) |
Returns true if the object contains a given property or there exists an extension for the current Instance. | |
override BadObjectReference | GetProperty (string propName, BadScope? caller=null) |
Returns a Reference to the Property with the given Name. | |
BadMemberChangingEvent (BadObject mInstance, BadMemberInfo mMember, BadObject mOldValue, BadObject mNewValue) | |
![]() | |
override string | ToSafeString (List< BadObject > done) |
![]() | |
BadClassPrototype | GetPrototype () |
Returns the Prototype of this Object. | |
string | ToSafeString (List< BadObject > done) |
Returns a String Representation of this Object. This function is recursion proof and supports circular references. | |
override string | ToString () |
Returns a String Representation of this Object. | |
Properties | |
bool | Cancel [get, private set] |
Private Attributes | |
readonly BadObjectReference | m_CancelReference |
Additional Inherited Members | |
![]() | |
static bool | CanWrap (object? o) |
Returns true if the given object cam be wrapped. | |
static BadObject | Wrap< T > (T obj, bool allowNative=true) |
Wraps the given object into a BadObject Instance. | |
static implicit | operator BadObject (bool b) |
Implicit Converstion from Boolean to BadObject. | |
static implicit | operator BadObject (BadNullable< bool > b) |
Converts the given object to a BadObject Instance. | |
static implicit | operator BadObject (decimal d) |
Implicit Converstion from Number to BadObject. | |
static implicit | operator BadObject (BadNullable< decimal > b) |
Converts the given object to a BadObject Instance. | |
static implicit | operator BadObject (string s) |
Implicit Converstion from String to BadObject. | |
static implicit | operator BadObject (BadNullable< string > b) |
Converts the given object to a BadObject Instance. | |
![]() | |
static readonly BadObject | Null = new BadNullObject() |
The Null Value for the BadScript Language. | |
static readonly BadObject | True = new BadBoolean(true) |
The True Value for the BadScript Language. | |
static readonly BadObject | False = new BadBoolean(false) |
The False Value for the BadScript Language. | |
![]() | |
BadMemberChangeEvent (BadObject mInstance, BadMemberInfo mMember, BadObject mOldValue, BadObject mNewValue) | |
Definition at line 63 of file BadScope.cs.
BadScript2.Runtime.BadMemberChangingEvent.BadMemberChangingEvent | ( | BadObject | mInstance, |
BadMemberInfo | mMember, | ||
BadObject | mOldValue, | ||
BadObject | mNewValue | ||
) |
Definition at line 93 of file BadScope.cs.
|
virtual |
Returns a Reference to the Property with the given Name.
propName | The Property Name |
caller | The caller Scope |
Reimplemented from BadScript2.Runtime.BadMemberChangeEvent.
Definition at line 83 of file BadScope.cs.
override BadClassPrototype BadScript2.Runtime.BadMemberChangingEvent.GetPrototype | ( | ) |
Definition at line 69 of file BadScope.cs.
|
virtual |
Returns true if the object contains a given property or there exists an extension for the current Instance.
propName | The Property Name |
caller | The caller Scope |
Reimplemented from BadScript2.Runtime.BadMemberChangeEvent.
Definition at line 74 of file BadScope.cs.
|
private |
Definition at line 66 of file BadScope.cs.
|
getprivate set |
Definition at line 65 of file BadScope.cs.