Method | Description | |
---|---|---|
GetScriptObject ( this @this ) : ScriptObject |
Gets the script object attached to the specified instance.
|
|
Import ( this @this, IScriptObject other ) : void |
Imports the specified ScriptObject into this instance by copying the member values into this object.
|
|
Import ( this script, object obj ) : void |
Imports the specified object intto this ScriptObject context. See remarks.
|
|
Import ( this script, object obj, ScriptMemberImportFlags flags, FilterMemberDelegate filter = null, IMemberRenamer renamer = null ) : void |
Imports the specified object.
|
|
Import ( this script, string member, |
Imports the delegate to the specified member.
|
|
ImportMember ( this script, object obj, string memberName, string exportName = null ) : void |
Imports a specific member from the specified object.
|
|
TrySetValue ( this @this, string member, object value, bool readOnly ) : bool |
Tries to set the value and readonly state of the specified member.
|
public static GetScriptObject ( this @this ) : ScriptObject | ||
@this | this | |
return | ScriptObject |
public static Import ( this @this, IScriptObject other ) : void | ||
@this | this | |
other | IScriptObject | The other |
return | void |
public static Import ( this script, object obj ) : void | ||
script | this | |
obj | object | The object. |
return | void |
public static Import ( this script, object obj, ScriptMemberImportFlags flags, FilterMemberDelegate filter = null, IMemberRenamer renamer = null ) : void | ||
script | this | |
obj | object | The object. |
flags | ScriptMemberImportFlags | The import flags. |
filter | FilterMemberDelegate | A filter applied on each member |
renamer | IMemberRenamer | The member renamer. |
return | void |
public static Import ( this script, string member, |
||
script | this | |
member | string | The member. |
function | The function delegate. | |
return | void |
public static ImportMember ( this script, object obj, string memberName, string exportName = null ) : void | ||
script | this | |
obj | object | The object. |
memberName | string | Name of the member. |
exportName | string | Name of the member name replacement. If null, use the default renamer will be used. |
return | void |
public static TrySetValue ( this @this, string member, object value, bool readOnly ) : bool | ||
@this | this | |
member | string | The member. |
value | object | The value. |
readOnly | bool | if set to |
return | bool |