TypeReference

Overview

Location

  • Reference:
    • RemObjects.Elements.EUnit.dll  .NET, .NET Standard 2.0
    • remobjects.elements.eunit.jar  Cooper
    • EUnit.fx  Island, macOS
    • libEUnit.fx  Toffee
  • Namespace: RemObjects.Elements.EUnit.Reflections
  • Platforms: .NET, .NET Standard 2.0, Cooper, Island, macOS, Toffee

 

constructor

 

constructor(Type: Type)

 

TypeReference(Type Type)

 

init(_ Type: Class)

 

TypeReference(Class Type)

 

Sub New(Type As Type)

Parameters:

  • Type:

CreateInstance  virtual

 

method CreateInstance: Object

 

Object CreateInstance()

 

func CreateInstance() -> NSObject

 

Object CreateInstance()

 

Function CreateInstance() As Object

DescendsFrom  virtual

 

method DescendsFrom(OtherType: TypeReference): Boolean

 

Boolean DescendsFrom(TypeReference OtherType)

 

func DescendsFrom(_ OtherType: TypeReference) -> Boolean

 

Boolean DescendsFrom(TypeReference OtherType)

 

Function DescendsFrom(OtherType As TypeReference) As Boolean

Parameters:

  • OtherType:

description  override Toffee

 

func description(description ) -> NSString

Parameters:

  • :

EqualsTo  virtual

 

method EqualsTo(OtherType: TypeReference): Boolean

 

Boolean EqualsTo(TypeReference OtherType)

 

func EqualsTo(_ OtherType: TypeReference) -> Boolean

 

Boolean EqualsTo(TypeReference OtherType)

 

Function EqualsTo(OtherType As TypeReference) As Boolean

Parameters:

  • OtherType:

GetMethods  virtual

 

method GetMethods: List<MethodReference>

 

List<MethodReference> GetMethods()

 

func GetMethods() -> List<MethodReference>

 

List<MethodReference> GetMethods()

 

Function GetMethods() As List<MethodReference>

IsAbstract  virtual

 

property IsAbstract: Boolean read;

 

Boolean IsAbstract { get; }

 

var IsAbstract: Boolean { get{} }

 

Boolean IsAbstract { __get; }

 

ReadOnly Property IsAbstract() As Boolean

Name  virtual

 

property Name: String read;

 

String Name { get; }

 

var Name: String { get{} }

 

String Name { __get; }

 

ReadOnly Property Name() As String

NativeType  virtual

 

property NativeType: Type read;

 

Type NativeType { get; }

 

// .NET, .NET Standard 2.0, Island, macOS
var NativeType: Type { get{} }
// Toffee
var NativeType: Class { get{} }

 

Class NativeType { __get; }

 

ReadOnly Property NativeType() As Type

toString Cooper

 

PlatformString toString()

ToString  virtual .NET, .NET Standard 2.0, Island, macOS, Toffee

 

method ToString: PlatformString

 

PlatformString ToString()

 

func ToString() -> String

 

Function ToString() As PlatformString

 

IsAbstract  virtual

 

property IsAbstract: Boolean read;

 

Boolean IsAbstract { get; }

 

var IsAbstract: Boolean { get{} }

 

Boolean IsAbstract { __get; }

 

ReadOnly Property IsAbstract() As Boolean

Name  virtual

 

property Name: String read;

 

String Name { get; }

 

var Name: String { get{} }

 

String Name { __get; }

 

ReadOnly Property Name() As String

NativeType  virtual

 

property NativeType: Type read;

 

Type NativeType { get; }

 

// .NET, .NET Standard 2.0, Island, macOS
var NativeType: Type { get{} }
// Toffee
var NativeType: Class { get{} }

 

Class NativeType { __get; }

 

ReadOnly Property NativeType() As Type

 

constructor

 

constructor(Type: Type)

 

TypeReference(Type Type)

 

init(_ Type: Class)

 

TypeReference(Class Type)

 

Sub New(Type As Type)

Parameters:

  • Type:

CreateInstance  virtual

 

method CreateInstance: Object

 

Object CreateInstance()

 

func CreateInstance() -> NSObject

 

Object CreateInstance()

 

Function CreateInstance() As Object

DescendsFrom  virtual

 

method DescendsFrom(OtherType: TypeReference): Boolean

 

Boolean DescendsFrom(TypeReference OtherType)

 

func DescendsFrom(_ OtherType: TypeReference) -> Boolean

 

Boolean DescendsFrom(TypeReference OtherType)

 

Function DescendsFrom(OtherType As TypeReference) As Boolean

Parameters:

  • OtherType:

description  override Toffee

 

func description(description ) -> NSString

Parameters:

  • :

EqualsTo  virtual

 

method EqualsTo(OtherType: TypeReference): Boolean

 

Boolean EqualsTo(TypeReference OtherType)

 

func EqualsTo(_ OtherType: TypeReference) -> Boolean

 

Boolean EqualsTo(TypeReference OtherType)

 

Function EqualsTo(OtherType As TypeReference) As Boolean

Parameters:

  • OtherType:

GetMethods  virtual

 

method GetMethods: List<MethodReference>

 

List<MethodReference> GetMethods()

 

func GetMethods() -> List<MethodReference>

 

List<MethodReference> GetMethods()

 

Function GetMethods() As List<MethodReference>

toString Cooper

 

PlatformString toString()

ToString  virtual .NET, .NET Standard 2.0, Island, macOS, Toffee

 

method ToString: PlatformString

 

PlatformString ToString()

 

func ToString() -> String

 

Function ToString() As PlatformString