OpenTAP 9.24
API Reference
Public Member Functions | Properties | List of all members
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. More...
 
IMemberData GetMember (string name)
 Gets a member of this object by name. More...
 
object CreateInstance (object[] arguments)
 Creates an instance of this type. The arguments are used for construction. More...
 

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.24 API built Tue Apr 30 2024 13:44:42