DynamicHelpers

Overview

Helpers for dynamic supported. Called by the compiler and shouldn't be used directly.

Location

 

constructor  protected

 

constructor

 

DynamicHelpers()

 

init()

 

DynamicHelpers()

 

Sub New()

Binary

 

class method Binary(aLeft: Object; aRight: Object; aOp: Int32): Object

 

static Object Binary(Object aLeft, Object aRight, Int32 aOp)

 

static func Binary(_ aLeft: Object, _ aRight: Object, _ aOp: Int32) -> Object

 

static Object Binary(Object aLeft, Object aRight, Int32 aOp)

 

Shared Function Binary(aLeft As Object, aRight As Object, aOp As Int32) As Object

Parameters:

  • aLeft:
  • aRight:
  • aOp:

Equals  virtual    (declared in Object)

Default constructor.

 

method Equals(aOther: Object): Boolean

 

Boolean Equals(Object aOther)

 

func Equals(_ aOther: Object) -> Boolean

 

Boolean Equals(Object aOther)

 

Function Equals(aOther As Object) As Boolean

Parameters:

  • aOther: the reference to compare this with.

Finalize  protected virtual    (declared in Object)

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

FindBestMatch  protected

 

class method FindBestMatch(aItems: DynamicMethodGroup; aArgs: array of Object): MethodInfo

 

static MethodInfo FindBestMatch(DynamicMethodGroup aItems, Object[] aArgs)

 

static func FindBestMatch(_ aItems: DynamicMethodGroup, _ aArgs: Object...) -> MethodInfo

 

static MethodInfo FindBestMatch(DynamicMethodGroup aItems, Object[] aArgs)

 

Shared Function FindBestMatch(aItems As DynamicMethodGroup, aArgs As Object()) As MethodInfo

Parameters:

  • aItems:
  • aArgs:

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

 

class method GetMember(aInstance: Object; aName: String; aGetFlags: Int32; aArgs: array of Object): Object

 

static Object GetMember(Object aInstance, String aName, Int32 aGetFlags, Object[] aArgs)

 

static func GetMember(_ aInstance: Object, _ aName: String, _ aGetFlags: Int32, _ aArgs: Object...) -> Object

 

static Object GetMember(Object aInstance, String aName, Int32 aGetFlags, Object[] aArgs)

 

Shared Function GetMember(aInstance As Object, aName As String, aGetFlags As Int32, aArgs As Object()) As Object

Parameters:

  • aInstance:
  • 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 (Object, Int32, array of Object): Object

 

class method Invoke(aInstance: Object; aGetFlags: Int32; aArgs: array of Object): Object

 

static Object Invoke(Object aInstance, Int32 aGetFlags, Object[] aArgs)

 

static func Invoke(_ aInstance: Object, _ aGetFlags: Int32, _ aArgs: Object...) -> Object

 

static Object Invoke(Object aInstance, Int32 aGetFlags, Object[] aArgs)

 

Shared Function Invoke(aInstance As Object, aGetFlags As Int32, aArgs As Object()) As Object

Parameters:

  • aInstance:
  • aGetFlags:
  • aArgs:

Invoke (Object, String, Int32, array of Object): Object

 

class method Invoke(aInstance: Object; aName: String; aGetFlags: Int32; aArgs: array of Object): Object

 

static Object Invoke(Object aInstance, String aName, Int32 aGetFlags, Object[] aArgs)

 

static func Invoke(_ aInstance: Object, _ aName: String, _ aGetFlags: Int32, _ aArgs: Object...) -> Object

 

static Object Invoke(Object aInstance, String aName, Int32 aGetFlags, Object[] aArgs)

 

Shared Function Invoke(aInstance As Object, aName As String, aGetFlags As Int32, aArgs As Object()) As Object

Parameters:

  • aInstance:
  • aName:
  • aGetFlags:
  • aArgs:

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

Shared Function ReferenceEquals(a As Object, b As Object) As Boolean

Parameters:

  • a: left value
  • b: right value

SetMember

 

class method SetMember(aInstance: Object; aName: String; aGetFlags: Int32; aArgs: array of Object)

 

static void SetMember(Object aInstance, String aName, Int32 aGetFlags, Object[] aArgs)

 

static func SetMember(_ aInstance: Object, _ aName: String, _ aGetFlags: Int32, _ aArgs: Object...)

 

static void SetMember(Object aInstance, String aName, Int32 aGetFlags, Object[] aArgs)

 

Shared Sub SetMember(aInstance As Object, aName As String, aGetFlags As Int32, aArgs As Object())

Parameters:

  • aInstance:
  • 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

TryApplyIndexer  protected

 

class method TryApplyIndexer(aInstance: Object; aArgs: array of Object; aSet: Boolean): Object

 

static Object TryApplyIndexer(Object aInstance, Object[] aArgs, Boolean aSet)

 

static func TryApplyIndexer(_ aInstance: Object, _ aArgs: Object..., _ aSet: Boolean) -> Object

 

static Object TryApplyIndexer(Object aInstance, Object[] aArgs, Boolean aSet)

 

Shared Function TryApplyIndexer(aInstance As Object, aArgs As Object(), aSet As Boolean) As Object

Parameters:

  • aInstance:
  • aArgs:
  • aSet:

Unary

 

class method Unary(aLeft: Object; aOp: Int32): Object

 

static Object Unary(Object aLeft, Int32 aOp)

 

static func Unary(_ aLeft: Object, _ aOp: Int32) -> Object

 

static Object Unary(Object aLeft, Int32 aOp)

 

Shared Function Unary(aLeft As Object, aOp As Int32) As Object

Parameters:

  • aLeft:
  • aOp:

 

Binary

 

class method Binary(aLeft: Object; aRight: Object; aOp: Int32): Object

 

static Object Binary(Object aLeft, Object aRight, Int32 aOp)

 

static func Binary(_ aLeft: Object, _ aRight: Object, _ aOp: Int32) -> Object

 

static Object Binary(Object aLeft, Object aRight, Int32 aOp)

 

Shared Function Binary(aLeft As Object, aRight As Object, aOp As Int32) As Object

Parameters:

  • aLeft:
  • aRight:
  • aOp:

FindBestMatch  protected

 

class method FindBestMatch(aItems: DynamicMethodGroup; aArgs: array of Object): MethodInfo

 

static MethodInfo FindBestMatch(DynamicMethodGroup aItems, Object[] aArgs)

 

static func FindBestMatch(_ aItems: DynamicMethodGroup, _ aArgs: Object...) -> MethodInfo

 

static MethodInfo FindBestMatch(DynamicMethodGroup aItems, Object[] aArgs)

 

Shared Function FindBestMatch(aItems As DynamicMethodGroup, aArgs As Object()) As MethodInfo

Parameters:

  • aItems:
  • aArgs:

GetMember

 

class method GetMember(aInstance: Object; aName: String; aGetFlags: Int32; aArgs: array of Object): Object

 

static Object GetMember(Object aInstance, String aName, Int32 aGetFlags, Object[] aArgs)

 

static func GetMember(_ aInstance: Object, _ aName: String, _ aGetFlags: Int32, _ aArgs: Object...) -> Object

 

static Object GetMember(Object aInstance, String aName, Int32 aGetFlags, Object[] aArgs)

 

Shared Function GetMember(aInstance As Object, aName As String, aGetFlags As Int32, aArgs As Object()) As Object

Parameters:

  • aInstance:
  • aName:
  • aGetFlags:
  • aArgs:

Invoke (Object, Int32, array of Object): Object

 

class method Invoke(aInstance: Object; aGetFlags: Int32; aArgs: array of Object): Object

 

static Object Invoke(Object aInstance, Int32 aGetFlags, Object[] aArgs)

 

static func Invoke(_ aInstance: Object, _ aGetFlags: Int32, _ aArgs: Object...) -> Object

 

static Object Invoke(Object aInstance, Int32 aGetFlags, Object[] aArgs)

 

Shared Function Invoke(aInstance As Object, aGetFlags As Int32, aArgs As Object()) As Object

Parameters:

  • aInstance:
  • aGetFlags:
  • aArgs:

Invoke (Object, String, Int32, array of Object): Object

 

class method Invoke(aInstance: Object; aName: String; aGetFlags: Int32; aArgs: array of Object): Object

 

static Object Invoke(Object aInstance, String aName, Int32 aGetFlags, Object[] aArgs)

 

static func Invoke(_ aInstance: Object, _ aName: String, _ aGetFlags: Int32, _ aArgs: Object...) -> Object

 

static Object Invoke(Object aInstance, String aName, Int32 aGetFlags, Object[] aArgs)

 

Shared Function Invoke(aInstance As Object, aName As String, aGetFlags As Int32, aArgs As Object()) As Object

Parameters:

  • aInstance:
  • aName:
  • aGetFlags:
  • aArgs:

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

Shared Function ReferenceEquals(a As Object, b As Object) As Boolean

Parameters:

  • a: left value
  • b: right value

SetMember

 

class method SetMember(aInstance: Object; aName: String; aGetFlags: Int32; aArgs: array of Object)

 

static void SetMember(Object aInstance, String aName, Int32 aGetFlags, Object[] aArgs)

 

static func SetMember(_ aInstance: Object, _ aName: String, _ aGetFlags: Int32, _ aArgs: Object...)

 

static void SetMember(Object aInstance, String aName, Int32 aGetFlags, Object[] aArgs)

 

Shared Sub SetMember(aInstance As Object, aName As String, aGetFlags As Int32, aArgs As Object())

Parameters:

  • aInstance:
  • aName:
  • aGetFlags:
  • aArgs:

TryApplyIndexer  protected

 

class method TryApplyIndexer(aInstance: Object; aArgs: array of Object; aSet: Boolean): Object

 

static Object TryApplyIndexer(Object aInstance, Object[] aArgs, Boolean aSet)

 

static func TryApplyIndexer(_ aInstance: Object, _ aArgs: Object..., _ aSet: Boolean) -> Object

 

static Object TryApplyIndexer(Object aInstance, Object[] aArgs, Boolean aSet)

 

Shared Function TryApplyIndexer(aInstance As Object, aArgs As Object(), aSet As Boolean) As Object

Parameters:

  • aInstance:
  • aArgs:
  • aSet:

Unary

 

class method Unary(aLeft: Object; aOp: Int32): Object

 

static Object Unary(Object aLeft, Int32 aOp)

 

static func Unary(_ aLeft: Object, _ aOp: Int32) -> Object

 

static Object Unary(Object aLeft, Int32 aOp)

 

Shared Function Unary(aLeft As Object, aOp As Int32) As Object

Parameters:

  • aLeft:
  • aOp:

 

constructor  protected

 

constructor

 

DynamicHelpers()

 

init()

 

DynamicHelpers()

 

Sub New()

Equals  virtual    (declared in Object)

Default constructor.

 

method Equals(aOther: Object): Boolean

 

Boolean Equals(Object aOther)

 

func Equals(_ aOther: Object) -> Boolean

 

Boolean Equals(Object aOther)

 

Function Equals(aOther As Object) As Boolean

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

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

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