OpenTAP 9.34
API Reference
OpenTap.ITypeData Interface Reference

The type information of an object. More...

Inheritance diagram for OpenTap.ITypeData:
OpenTap.IReflectionData OpenTap.NullTypeData OpenTap.TypeData

Public Member Functions

IEnumerable< IMemberDataGetMembers ()
 Gets the members of this object.
 
IMemberData GetMember (string name)
 Gets a member of this object by name.
 
object CreateInstance (object[] arguments)
 Creates an instance of this type. The arguments are used for construction.
 

Properties

ITypeData BaseType [get]
 The base type of this type.
 
bool CanCreateInstance [get]
 Gets if CreateInstance will work for this type. For examples, for interfaces and abstract classes it will not work.
 
- Properties inherited from OpenTap.IReflectionData
IEnumerable< object > Attributes [get]
 The attributes of it.
 
string Name [get]
 The name of it.
 

Detailed Description

The type information of an object.

Member Function Documentation

◆ CreateInstance()

object OpenTap.ITypeData.CreateInstance ( object[] arguments)

Creates an instance of this type. The arguments are used for construction.

Parameters
arguments
Returns

Implemented in OpenTap.NullTypeData, and OpenTap.TypeData.

◆ GetMember()

IMemberData OpenTap.ITypeData.GetMember ( string name)

Gets a member of this object by name.

Parameters
name
Returns

Implemented in OpenTap.NullTypeData, and OpenTap.TypeData.

◆ GetMembers()

IEnumerable< IMemberData > OpenTap.ITypeData.GetMembers ( )

Gets the members of this object.

Returns

Implemented in OpenTap.NullTypeData, and OpenTap.TypeData.

OpenTAP 9.34 API built Wed Jul 1 2026 09:21:15