DynamicHelpers

Overview

Location

 

constructor  protected

 

constructor

 

DynamicHelpers()

 

init()

 

DynamicHelpers()

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)

Parameters:

  • aLeft:
  • aRight:
  • aOp:

Equals  virtual    (declared in Object)

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

Parameters:

  • obj: the reference to compare this with.

Finalize  protected virtual    (declared in Object)

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void 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)

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()

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)

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()

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)

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)

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)

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)

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()

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

Parameters:

  • aLeft:
  • aOp:

 

constructor  protected

 

constructor

 

DynamicHelpers()

 

init()

 

DynamicHelpers()

Equals  virtual    (declared in Object)

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

Parameters:

  • obj: the reference to compare this with.

Finalize  protected virtual    (declared in Object)

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void 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()

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

ToString  virtual    (declared in Object)

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()