EcmaScriptObject
Overview
On WebAssembly this is a wrapper class for (foreign) javascript objects.
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.System
- Platforms: WebAssembly
constructor (declared in Object)
constructor
EcmaScriptObject()
init()
EcmaScriptObject()
Sub New()
constructor (IntPtr)
constructor(aValue: IntPtr)
EcmaScriptObject(IntPtr aValue)
init(_ aValue: IntPtr)
EcmaScriptObject(IntPtr aValue)
Sub New(aValue As IntPtr)
Parameters:
- aValue:
AddEvent
method AddEvent(aName: String; aValue: WebAssemblyDelegate)
void AddEvent(String aName, WebAssemblyDelegate aValue)
func AddEvent(_ aName: String, _ aValue: WebAssemblyDelegate)
void AddEvent(String aName, WebAssemblyDelegate aValue)
Sub AddEvent(aName As String, aValue As WebAssemblyDelegate)
Parameters:
- aName:
- aValue:
Binary
method Binary(aOther: Object; aSelfIsLeftSide: Boolean; aOp: DynamicBinaryOperator; out aResult: Object): Boolean
Boolean Binary(Object aOther, Boolean aSelfIsLeftSide, DynamicBinaryOperator aOp, out Object aResult)
func Binary(_ aOther: Object, _ aSelfIsLeftSide: Boolean, _ aOp: DynamicBinaryOperator, _ aResult: Object) -> Boolean
Boolean Binary(Object aOther, Boolean aSelfIsLeftSide, DynamicBinaryOperator aOp, __out Object aResult)
Function Binary(aOther As Object, aSelfIsLeftSide As Boolean, aOp As DynamicBinaryOperator, <OutAttribute> ByRef aResult As Object) As Boolean
Parameters:
- aOther:
- aSelfIsLeftSide:
- aOp:
- aResult:
Parameters:
- aName:
- args:
Parameters:
- args:
CopyFromNativeArray<T>
method CopyFromNativeArray<T>(aNativeOffset: Int32; aNativeArray: array of T; aTypedArrayOffset: Int32; aSize: Int32)
void CopyFromNativeArray<T>(Int32 aNativeOffset, T[] aNativeArray, Int32 aTypedArrayOffset, Int32 aSize)
func CopyFromNativeArray<T>(_ aNativeOffset: Int32, _ aNativeArray: T..., _ aTypedArrayOffset: Int32, _ aSize: Int32)
Parameters:
- aNativeOffset:
- aNativeArray:
- aTypedArrayOffset:
- aSize:
CopyToNativeArray<T>
method CopyToNativeArray<T>(aNativeOffset: Int32; aNativeArray: array of T; aTypedArrayOffset: Int32; aSize: Int32)
void CopyToNativeArray<T>(Int32 aNativeOffset, T[] aNativeArray, Int32 aTypedArrayOffset, Int32 aSize)
func CopyToNativeArray<T>(_ aNativeOffset: Int32, _ aNativeArray: T..., _ aTypedArrayOffset: Int32, _ aSize: Int32)
Parameters:
- aNativeOffset:
- aNativeArray:
- aTypedArrayOffset:
- aSize:
Count
property Count: Int32 read;
Int32 Count { get; }
var Count: Int32 { get{} }
Int32 Count { __get; }
ReadOnly Property Count() As Int32
DefineProperty (String, Func<RemObjects.Elements.System.Object>, Action<RemObjects.Elements.System.Object>, EcmaScriptPropertyFlags)
method DefineProperty(aName: String; aGet: Func<RemObjects.Elements.System.Object>; aSet: Action<RemObjects.Elements.System.Object>; aFlags: EcmaScriptPropertyFlags)
void DefineProperty(String aName, Func<RemObjects.Elements.System.Object> aGet, Action<RemObjects.Elements.System.Object> aSet, EcmaScriptPropertyFlags aFlags)
func DefineProperty(_ aName: String, _ aGet: Func<RemObjects.Elements.System.Object>, _ aSet: Action<RemObjects.Elements.System.Object>, _ aFlags: EcmaScriptPropertyFlags)
void DefineProperty(String aName, Func<RemObjects.Elements.System.Object> aGet, Action<RemObjects.Elements.System.Object> aSet, EcmaScriptPropertyFlags aFlags)
Sub DefineProperty(aName As String, aGet As Func<RemObjects.Elements.System.Object>, aSet As Action<RemObjects.Elements.System.Object>, aFlags As EcmaScriptPropertyFlags)
Parameters:
- aName:
- aGet:
- aSet:
- aFlags:
DefineProperty (String, Func<RemObjects.Elements.System.EcmaScriptObject,RemObjects.Elements.System.Object>, Action<RemObjects.Elements.System.EcmaScriptObject,RemObjects.Elements.System.Object>, EcmaScriptPropertyFlags)
method DefineProperty(aName: String; aGet: Func<RemObjects.Elements.System.EcmaScriptObject,RemObjects.Elements.System.Object>; aSet: Action<RemObjects.Elements.System.EcmaScriptObject,RemObjects.Elements.System.Object>; aFlags: EcmaScriptPropertyFlags)
void DefineProperty(String aName, Func<RemObjects.Elements.System.EcmaScriptObject,RemObjects.Elements.System.Object> aGet, Action<RemObjects.Elements.System.EcmaScriptObject,RemObjects.Elements.System.Object> aSet, EcmaScriptPropertyFlags aFlags)
func DefineProperty(_ aName: String, _ aGet: Func<RemObjects.Elements.System.EcmaScriptObject,RemObjects.Elements.System.Object>, _ aSet: Action<RemObjects.Elements.System.EcmaScriptObject,RemObjects.Elements.System.Object>, _ aFlags: EcmaScriptPropertyFlags)
void DefineProperty(String aName, Func<RemObjects.Elements.System.EcmaScriptObject,RemObjects.Elements.System.Object> aGet, Action<RemObjects.Elements.System.EcmaScriptObject,RemObjects.Elements.System.Object> aSet, EcmaScriptPropertyFlags aFlags)
Sub DefineProperty(aName As String, aGet As Func<RemObjects.Elements.System.EcmaScriptObject,RemObjects.Elements.System.Object>, aSet As Action<RemObjects.Elements.System.EcmaScriptObject,RemObjects.Elements.System.Object>, aFlags As EcmaScriptPropertyFlags)
Parameters:
- aName:
- aGet:
- aSet:
- aFlags:
DefineProperty (String, Object, EcmaScriptPropertyFlags)
method DefineProperty(aName: String; aValue: Object; aFlags: EcmaScriptPropertyFlags)
void DefineProperty(String aName, Object aValue, EcmaScriptPropertyFlags aFlags)
func DefineProperty(_ aName: String, _ aValue: Object, _ aFlags: EcmaScriptPropertyFlags)
void DefineProperty(String aName, Object aValue, EcmaScriptPropertyFlags aFlags)
Sub DefineProperty(aName As String, aValue As Object, aFlags As EcmaScriptPropertyFlags)
Parameters:
- aName:
- aValue:
- aFlags:
Dispose
method Dispose
void Dispose()
func Dispose()
void Dispose()
Sub Dispose()
Equals virtual (declared in Object)
Default constructor.
Parameters:
- aOther: the reference to compare this with.
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void Finalize()
Sub Finalize()
GetHashCode virtual (declared in Object)
Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
GetMember
Parameters:
- aName:
- aGetFlags:
- aArgs:
GetType (declared in Object)
Returns the actual type of this class
method GetType: Type
Type GetType()
func GetType() -> Type
Type GetType()
Function GetType() As Type
Handle
property Handle: IntPtr read;
IntPtr Handle { get; }
var Handle: IntPtr { get{} }
IntPtr Handle { __get; }
ReadOnly Property Handle() As IntPtr
Invoke
Parameters:
- aName:
- aGetFlags:
- aArgs:
IsType
Parameters:
- aType:
Items
Items
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
Parameters:
- a: left value
- b: right value
Release
method Release
void Release()
func Release()
void Release()
Sub Release()
RemoveEvent
method RemoveEvent(aName: String; aValue: WebAssemblyDelegate)
void RemoveEvent(String aName, WebAssemblyDelegate aValue)
func RemoveEvent(_ aName: String, _ aValue: WebAssemblyDelegate)
void RemoveEvent(String aName, WebAssemblyDelegate aValue)
Sub RemoveEvent(aName As String, aValue As WebAssemblyDelegate)
Parameters:
- aName:
- aValue:
SetMember
Parameters:
- aName:
- aGetFlags:
- aArgs:
ToString virtual (declared in Object)
Gets the string representation of this method.
method ToString: String
String ToString()
func ToString() -> String
String ToString()
Function ToString() As String
Unary
method Unary(aOp: DynamicUnaryOperator; out aResult: Object): Boolean
Boolean Unary(DynamicUnaryOperator aOp, out Object aResult)
func Unary(_ aOp: DynamicUnaryOperator, _ aResult: Object) -> Boolean
Boolean Unary(DynamicUnaryOperator aOp, __out Object aResult)
Function Unary(aOp As DynamicUnaryOperator, <OutAttribute> ByRef aResult As Object) As Boolean
Parameters:
- aOp:
- aResult:
Count
property Count: Int32 read;
Int32 Count { get; }
var Count: Int32 { get{} }
Int32 Count { __get; }
ReadOnly Property Count() As Int32
Handle
property Handle: IntPtr read;
IntPtr Handle { get; }
var Handle: IntPtr { get{} }
IntPtr Handle { __get; }
ReadOnly Property Handle() As IntPtr
Items
Items
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
Parameters:
- a: left value
- b: right value
constructor (declared in Object)
constructor
EcmaScriptObject()
init()
EcmaScriptObject()
Sub New()
constructor (IntPtr)
constructor(aValue: IntPtr)
EcmaScriptObject(IntPtr aValue)
init(_ aValue: IntPtr)
EcmaScriptObject(IntPtr aValue)
Sub New(aValue As IntPtr)
Parameters:
- aValue:
AddEvent
method AddEvent(aName: String; aValue: WebAssemblyDelegate)
void AddEvent(String aName, WebAssemblyDelegate aValue)
func AddEvent(_ aName: String, _ aValue: WebAssemblyDelegate)
void AddEvent(String aName, WebAssemblyDelegate aValue)
Sub AddEvent(aName As String, aValue As WebAssemblyDelegate)
Parameters:
- aName:
- aValue:
Binary
method Binary(aOther: Object; aSelfIsLeftSide: Boolean; aOp: DynamicBinaryOperator; out aResult: Object): Boolean
Boolean Binary(Object aOther, Boolean aSelfIsLeftSide, DynamicBinaryOperator aOp, out Object aResult)
func Binary(_ aOther: Object, _ aSelfIsLeftSide: Boolean, _ aOp: DynamicBinaryOperator, _ aResult: Object) -> Boolean
Boolean Binary(Object aOther, Boolean aSelfIsLeftSide, DynamicBinaryOperator aOp, __out Object aResult)
Function Binary(aOther As Object, aSelfIsLeftSide As Boolean, aOp As DynamicBinaryOperator, <OutAttribute> ByRef aResult As Object) As Boolean
Parameters:
- aOther:
- aSelfIsLeftSide:
- aOp:
- aResult:
Parameters:
- aName:
- args:
Parameters:
- args:
CopyFromNativeArray<T>
method CopyFromNativeArray<T>(aNativeOffset: Int32; aNativeArray: array of T; aTypedArrayOffset: Int32; aSize: Int32)
void CopyFromNativeArray<T>(Int32 aNativeOffset, T[] aNativeArray, Int32 aTypedArrayOffset, Int32 aSize)
func CopyFromNativeArray<T>(_ aNativeOffset: Int32, _ aNativeArray: T..., _ aTypedArrayOffset: Int32, _ aSize: Int32)
Parameters:
- aNativeOffset:
- aNativeArray:
- aTypedArrayOffset:
- aSize:
CopyToNativeArray<T>
method CopyToNativeArray<T>(aNativeOffset: Int32; aNativeArray: array of T; aTypedArrayOffset: Int32; aSize: Int32)
void CopyToNativeArray<T>(Int32 aNativeOffset, T[] aNativeArray, Int32 aTypedArrayOffset, Int32 aSize)
func CopyToNativeArray<T>(_ aNativeOffset: Int32, _ aNativeArray: T..., _ aTypedArrayOffset: Int32, _ aSize: Int32)
Parameters:
- aNativeOffset:
- aNativeArray:
- aTypedArrayOffset:
- aSize:
DefineProperty (String, Func<RemObjects.Elements.System.Object>, Action<RemObjects.Elements.System.Object>, EcmaScriptPropertyFlags)
method DefineProperty(aName: String; aGet: Func<RemObjects.Elements.System.Object>; aSet: Action<RemObjects.Elements.System.Object>; aFlags: EcmaScriptPropertyFlags)
void DefineProperty(String aName, Func<RemObjects.Elements.System.Object> aGet, Action<RemObjects.Elements.System.Object> aSet, EcmaScriptPropertyFlags aFlags)
func DefineProperty(_ aName: String, _ aGet: Func<RemObjects.Elements.System.Object>, _ aSet: Action<RemObjects.Elements.System.Object>, _ aFlags: EcmaScriptPropertyFlags)
void DefineProperty(String aName, Func<RemObjects.Elements.System.Object> aGet, Action<RemObjects.Elements.System.Object> aSet, EcmaScriptPropertyFlags aFlags)
Sub DefineProperty(aName As String, aGet As Func<RemObjects.Elements.System.Object>, aSet As Action<RemObjects.Elements.System.Object>, aFlags As EcmaScriptPropertyFlags)
Parameters:
- aName:
- aGet:
- aSet:
- aFlags:
DefineProperty (String, Func<RemObjects.Elements.System.EcmaScriptObject,RemObjects.Elements.System.Object>, Action<RemObjects.Elements.System.EcmaScriptObject,RemObjects.Elements.System.Object>, EcmaScriptPropertyFlags)
method DefineProperty(aName: String; aGet: Func<RemObjects.Elements.System.EcmaScriptObject,RemObjects.Elements.System.Object>; aSet: Action<RemObjects.Elements.System.EcmaScriptObject,RemObjects.Elements.System.Object>; aFlags: EcmaScriptPropertyFlags)
void DefineProperty(String aName, Func<RemObjects.Elements.System.EcmaScriptObject,RemObjects.Elements.System.Object> aGet, Action<RemObjects.Elements.System.EcmaScriptObject,RemObjects.Elements.System.Object> aSet, EcmaScriptPropertyFlags aFlags)
func DefineProperty(_ aName: String, _ aGet: Func<RemObjects.Elements.System.EcmaScriptObject,RemObjects.Elements.System.Object>, _ aSet: Action<RemObjects.Elements.System.EcmaScriptObject,RemObjects.Elements.System.Object>, _ aFlags: EcmaScriptPropertyFlags)
void DefineProperty(String aName, Func<RemObjects.Elements.System.EcmaScriptObject,RemObjects.Elements.System.Object> aGet, Action<RemObjects.Elements.System.EcmaScriptObject,RemObjects.Elements.System.Object> aSet, EcmaScriptPropertyFlags aFlags)
Sub DefineProperty(aName As String, aGet As Func<RemObjects.Elements.System.EcmaScriptObject,RemObjects.Elements.System.Object>, aSet As Action<RemObjects.Elements.System.EcmaScriptObject,RemObjects.Elements.System.Object>, aFlags As EcmaScriptPropertyFlags)
Parameters:
- aName:
- aGet:
- aSet:
- aFlags:
DefineProperty (String, Object, EcmaScriptPropertyFlags)
method DefineProperty(aName: String; aValue: Object; aFlags: EcmaScriptPropertyFlags)
void DefineProperty(String aName, Object aValue, EcmaScriptPropertyFlags aFlags)
func DefineProperty(_ aName: String, _ aValue: Object, _ aFlags: EcmaScriptPropertyFlags)
void DefineProperty(String aName, Object aValue, EcmaScriptPropertyFlags aFlags)
Sub DefineProperty(aName As String, aValue As Object, aFlags As EcmaScriptPropertyFlags)
Parameters:
- aName:
- aValue:
- aFlags:
Dispose
method Dispose
void Dispose()
func Dispose()
void Dispose()
Sub Dispose()
Equals virtual (declared in Object)
Default constructor.
Parameters:
- aOther: the reference to compare this with.
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void Finalize()
Sub Finalize()
GetHashCode virtual (declared in Object)
Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
GetMember
Parameters:
- aName:
- aGetFlags:
- aArgs:
GetType (declared in Object)
Returns the actual type of this class
method GetType: Type
Type GetType()
func GetType() -> Type
Type GetType()
Function GetType() As Type
Invoke
Parameters:
- aName:
- aGetFlags:
- aArgs:
IsType
Parameters:
- aType:
Release
method Release
void Release()
func Release()
void Release()
Sub Release()
RemoveEvent
method RemoveEvent(aName: String; aValue: WebAssemblyDelegate)
void RemoveEvent(String aName, WebAssemblyDelegate aValue)
func RemoveEvent(_ aName: String, _ aValue: WebAssemblyDelegate)
void RemoveEvent(String aName, WebAssemblyDelegate aValue)
Sub RemoveEvent(aName As String, aValue As WebAssemblyDelegate)
Parameters:
- aName:
- aValue:
SetMember
Parameters:
- aName:
- aGetFlags:
- aArgs:
ToString virtual (declared in Object)
Gets the string representation of this method.
method ToString: String
String ToString()
func ToString() -> String
String ToString()
Function ToString() As String
Unary
method Unary(aOp: DynamicUnaryOperator; out aResult: Object): Boolean
Boolean Unary(DynamicUnaryOperator aOp, out Object aResult)
func Unary(_ aOp: DynamicUnaryOperator, _ aResult: Object) -> Boolean
Boolean Unary(DynamicUnaryOperator aOp, __out Object aResult)
Function Unary(aOp As DynamicUnaryOperator, <OutAttribute> ByRef aResult As Object) As Boolean
Parameters:
- aOp:
- aResult: