TypeReference

Overview

Location

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

 

constructor (Class) Cooper, Toffee

 

init(_ Type: Class)

 

TypeReference(Class Type)

Parameters:

  • Type:

constructor (Type) .NET, .NET Standard 2.0, Island, macOS

 

// .NET, .NET Standard 2.0, macOS
constructor(Type: Type)
// Island
constructor(Type: Type)

 

// .NET, .NET Standard 2.0, macOS
TypeReference(Type Type)
// Island
TypeReference(Type Type)

 

// .NET, .NET Standard 2.0, macOS
init(_ Type: Type)
// Island
init(_ Type: Type)

 

// .NET, .NET Standard 2.0, macOS
Sub New(Type As Type)
// Island
Sub New(Type As Type)

Parameters:

  • Type:

CreateInstance .NET, .NET Standard 2.0, Cooper, Island, macOS

 

method CreateInstance: Object

 

Object CreateInstance()

 

func CreateInstance() -> Object

 

Object CreateInstance()

 

Function CreateInstance() As Object

CreateInstance CreateInstance(): NSObject  virtual Toffee

 

func CreateInstance(CreateInstance ) -> NSObject

Parameters:

  • :

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 .NET, .NET Standard 2.0, Cooper, Island, macOS

 

// macOS
method GetMethods: List<MethodReference>
// .NET, .NET Standard 2.0, Island
method GetMethods: List<MethodReference>

 

// macOS
List<MethodReference> GetMethods()
// .NET, .NET Standard 2.0, Island
List<MethodReference> GetMethods()

 

// macOS
func GetMethods() -> List<MethodReference>
// .NET, .NET Standard 2.0, Island
func GetMethods() -> List<MethodReference>

 

List<MethodReference> GetMethods()

 

// macOS
Function GetMethods() As List<MethodReference>
// .NET, .NET Standard 2.0, Island
Function GetMethods() As List<MethodReference>

GetMethods GetMethods(): List<MethodReference>  virtual Toffee

 

func GetMethods(GetMethods ) -> List<MethodReference>

Parameters:

  • :

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 Cooper, Toffee

 

var NativeType: Class { get{} }

 

Class NativeType { __get; }

NativeType .NET, .NET Standard 2.0, Island, macOS

 

// .NET, .NET Standard 2.0, macOS
property NativeType: Type read;
// Island
property NativeType: Type read;

 

// .NET, .NET Standard 2.0, macOS
Type NativeType { get; }
// Island
Type NativeType { get; }

 

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

 

// .NET, .NET Standard 2.0, macOS
ReadOnly Property NativeType() As Type
// Island
ReadOnly Property NativeType() As Type

toString Cooper

 

PlatformString toString()

ToString  virtual Toffee

 

func ToString(ToString ) -> String

Parameters:

  • :

 

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 Cooper, Toffee

 

var NativeType: Class { get{} }

 

Class NativeType { __get; }

NativeType .NET, .NET Standard 2.0, Island, macOS

 

// .NET, .NET Standard 2.0, macOS
property NativeType: Type read;
// Island
property NativeType: Type read;

 

// .NET, .NET Standard 2.0, macOS
Type NativeType { get; }
// Island
Type NativeType { get; }

 

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

 

// .NET, .NET Standard 2.0, macOS
ReadOnly Property NativeType() As Type
// Island
ReadOnly Property NativeType() As Type

 

constructor (Class) Cooper, Toffee

 

init(_ Type: Class)

 

TypeReference(Class Type)

Parameters:

  • Type:

constructor (Type) .NET, .NET Standard 2.0, Island, macOS

 

// .NET, .NET Standard 2.0, macOS
constructor(Type: Type)
// Island
constructor(Type: Type)

 

// .NET, .NET Standard 2.0, macOS
TypeReference(Type Type)
// Island
TypeReference(Type Type)

 

// .NET, .NET Standard 2.0, macOS
init(_ Type: Type)
// Island
init(_ Type: Type)

 

// .NET, .NET Standard 2.0, macOS
Sub New(Type As Type)
// Island
Sub New(Type As Type)

Parameters:

  • Type:

CreateInstance .NET, .NET Standard 2.0, Cooper, Island, macOS

 

method CreateInstance: Object

 

Object CreateInstance()

 

func CreateInstance() -> Object

 

Object CreateInstance()

 

Function CreateInstance() As Object

CreateInstance CreateInstance(): NSObject  virtual Toffee

 

func CreateInstance(CreateInstance ) -> NSObject

Parameters:

  • :

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 .NET, .NET Standard 2.0, Cooper, Island, macOS

 

// macOS
method GetMethods: List<MethodReference>
// .NET, .NET Standard 2.0, Island
method GetMethods: List<MethodReference>

 

// macOS
List<MethodReference> GetMethods()
// .NET, .NET Standard 2.0, Island
List<MethodReference> GetMethods()

 

// macOS
func GetMethods() -> List<MethodReference>
// .NET, .NET Standard 2.0, Island
func GetMethods() -> List<MethodReference>

 

List<MethodReference> GetMethods()

 

// macOS
Function GetMethods() As List<MethodReference>
// .NET, .NET Standard 2.0, Island
Function GetMethods() As List<MethodReference>

GetMethods GetMethods(): List<MethodReference>  virtual Toffee

 

func GetMethods(GetMethods ) -> List<MethodReference>

Parameters:

  • :

toString Cooper

 

PlatformString toString()

ToString  virtual Toffee

 

func ToString(ToString ) -> String

Parameters:

  • :