Type

Overview

Location

  • Reference:
    • Elements.dll  .NET, .NET Standard
    • elements.jar  Cooper
    • Elements.fx  Island
    • libElements.fx  Toffee
  • Namespace: RemObjects.Elements.RTL.Reflection
  • Mapped to:
    • System.Type  .NET, .NET Standard
    • java.lang.Class  Cooper
    • RemObjects.Elements.System.Type  Island

 

constructor withClass(Class): InstanceType Toffee

 

init(withClass aClass: Class)

Parameters:

  • aClass:

constructor withProtocol(id): InstanceType Toffee

 

init(withProtocol aProtocol: id)

Parameters:

  • aProtocol:

constructor withSimpleType(String): InstanceType Toffee

 

init(withSimpleType aTypeEncoding: String)

Parameters:

  • aTypeEncoding:

AllTypes  virtual

 

class property AllTypes: ImmutableList<Type> read;

 

class ImmutableList<Type> AllTypes { get; }

 

static var AllTypes: ImmutableList<Type> { get{} }

 

class ImmutableList<Type> AllTypes { __get; }

BaseType  virtual

 

property BaseType: nullable Type read;

 

Type? BaseType { get; }

 

// .NET, .NET Standard, Island
var BaseType: Type? { get{} }
// Toffee
var BaseType: Type { get{} }

 

Type BaseType { __get; }

GetType  virtual

 

class method GetType(aName: not nullable String): nullable Type

 

static Type? GetType(String! aName)

 

static func GetType(_ aName: String) -> Type

 

static Type GetType(String! aName)

Parameters:

  • aName:

initWithID Toffee

 

func initWithID() -> instancetype

Interfaces  virtual

 

property Interfaces: ImmutableList<Type> read;

 

ImmutableList<Type> Interfaces { get; }

 

var Interfaces: ImmutableList<Type> { get{} }

 

ImmutableList<Type> Interfaces { __get; }

IsArray  virtual

 

property IsArray: Boolean read;

 

Boolean IsArray { get; }

 

var IsArray: Boolean { get{} }

 

Boolean IsArray { __get; }

IsClass  virtual

 

property IsClass: Boolean read;

 

Boolean IsClass { get; }

 

var IsClass: Boolean { get{} }

 

Boolean IsClass { __get; }

IsDelegate  virtual Toffee

 

var IsDelegate: Boolean { get{} }

IsEnum  virtual

 

property IsEnum: Boolean read;

 

Boolean IsEnum { get; }

 

var IsEnum: Boolean { get{} }

 

Boolean IsEnum { __get; }

IsInterface  virtual

 

property IsInterface: Boolean read;

 

Boolean IsInterface { get; }

 

var IsInterface: Boolean { get{} }

 

Boolean IsInterface { __get; }

IsSubclassOf  virtual Toffee

 

func IsSubclassOf(_ aType: Type) -> Boolean

Parameters:

  • aType:

IsValueType  virtual

 

property IsValueType: Boolean read;

 

Boolean IsValueType { get; }

 

var IsValueType: Boolean { get{} }

 

Boolean IsValueType { __get; }

Methods  virtual

 

property Methods: ImmutableList<Method> read;

 

ImmutableList<Method> Methods { get; }

 

var Methods: ImmutableList<Method> { get{} }

 

ImmutableList<Method> Methods { __get; }

Name  virtual

 

property Name: String read;

 

String Name { get; }

 

var Name: String { get{} }

 

String Name { __get; }

Properties  virtual .NET, .NET Standard, Island, Toffee

 

property Properties: ImmutableList<Property> read;

 

ImmutableList<Property> Properties { get; }

 

var Properties: ImmutableList<Property> { get{} }

TypeClass  virtual Toffee

 

var TypeClass: Class { get{} }

 

BaseType  virtual

 

property BaseType: nullable Type read;

 

Type? BaseType { get; }

 

// .NET, .NET Standard, Island
var BaseType: Type? { get{} }
// Toffee
var BaseType: Type { get{} }

 

Type BaseType { __get; }

Interfaces  virtual

 

property Interfaces: ImmutableList<Type> read;

 

ImmutableList<Type> Interfaces { get; }

 

var Interfaces: ImmutableList<Type> { get{} }

 

ImmutableList<Type> Interfaces { __get; }

IsArray  virtual

 

property IsArray: Boolean read;

 

Boolean IsArray { get; }

 

var IsArray: Boolean { get{} }

 

Boolean IsArray { __get; }

IsClass  virtual

 

property IsClass: Boolean read;

 

Boolean IsClass { get; }

 

var IsClass: Boolean { get{} }

 

Boolean IsClass { __get; }

IsDelegate  virtual Toffee

 

var IsDelegate: Boolean { get{} }

IsEnum  virtual

 

property IsEnum: Boolean read;

 

Boolean IsEnum { get; }

 

var IsEnum: Boolean { get{} }

 

Boolean IsEnum { __get; }

IsInterface  virtual

 

property IsInterface: Boolean read;

 

Boolean IsInterface { get; }

 

var IsInterface: Boolean { get{} }

 

Boolean IsInterface { __get; }

IsValueType  virtual

 

property IsValueType: Boolean read;

 

Boolean IsValueType { get; }

 

var IsValueType: Boolean { get{} }

 

Boolean IsValueType { __get; }

Methods  virtual

 

property Methods: ImmutableList<Method> read;

 

ImmutableList<Method> Methods { get; }

 

var Methods: ImmutableList<Method> { get{} }

 

ImmutableList<Method> Methods { __get; }

Name  virtual

 

property Name: String read;

 

String Name { get; }

 

var Name: String { get{} }

 

String Name { __get; }

Properties  virtual .NET, .NET Standard, Island, Toffee

 

property Properties: ImmutableList<Property> read;

 

ImmutableList<Property> Properties { get; }

 

var Properties: ImmutableList<Property> { get{} }

TypeClass  virtual Toffee

 

var TypeClass: Class { get{} }

AllTypes  virtual

 

class property AllTypes: ImmutableList<Type> read;

 

class ImmutableList<Type> AllTypes { get; }

 

static var AllTypes: ImmutableList<Type> { get{} }

 

class ImmutableList<Type> AllTypes { __get; }

 

GetType  virtual

 

class method GetType(aName: not nullable String): nullable Type

 

static Type? GetType(String! aName)

 

static func GetType(_ aName: String) -> Type

 

static Type GetType(String! aName)

Parameters:

  • aName:

 

constructor withClass(Class): InstanceType Toffee

 

init(withClass aClass: Class)

Parameters:

  • aClass:

constructor withProtocol(id): InstanceType Toffee

 

init(withProtocol aProtocol: id)

Parameters:

  • aProtocol:

constructor withSimpleType(String): InstanceType Toffee

 

init(withSimpleType aTypeEncoding: String)

Parameters:

  • aTypeEncoding:

initWithID Toffee

 

func initWithID() -> instancetype

IsSubclassOf  virtual Toffee

 

func IsSubclassOf(_ aType: Type) -> Boolean

Parameters:

  • aType: