![]() |
BadScript 2
|
Public Member Functions | |
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. | |
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. | |
Protected Member Functions | |
BadMemberChangeEvent (BadObject mInstance, BadMemberInfo mMember, BadObject mOldValue, BadObject mNewValue) | |
Private Attributes | |
readonly BadObject | m_Instance |
readonly BadMemberInfo | m_Member |
readonly BadObject | m_NewValue |
readonly BadObject | m_OldValue |
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 (DateTimeOffset d) |
static implicit | operator BadObject (TimeSpan t) |
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. | |
Definition at line 5 of file BadMemberChangeEvent.cs.
|
protected |
Definition at line 12 of file BadMemberChangeEvent.cs.
|
virtual |
Returns a Reference to the Property with the given Name.
propName | The Property Name |
caller | The caller Scope |
Reimplemented from BadScript2.Runtime.Objects.BadObject.
Reimplemented in BadScript2.Runtime.BadMemberChangingEvent.
Definition at line 34 of file BadMemberChangeEvent.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.Objects.BadObject.
Reimplemented in BadScript2.Runtime.BadMemberChangingEvent.
Definition at line 20 of file BadMemberChangeEvent.cs.
override string BadScript2.Runtime.BadMemberChangeEvent.ToSafeString | ( | List< BadObject > | done | ) |
Definition at line 51 of file BadMemberChangeEvent.cs.
|
private |
Definition at line 7 of file BadMemberChangeEvent.cs.
|
private |
Definition at line 8 of file BadMemberChangeEvent.cs.
|
private |
Definition at line 9 of file BadMemberChangeEvent.cs.
|
private |
Definition at line 10 of file BadMemberChangeEvent.cs.