OpenTAP 9.24
API Reference
Public Member Functions | Properties | List of all members
OpenTap.ITypeDataProvider Interface Reference

Hook into type reflection system. Provides type data for a given object or identifier. More...

Inheritance diagram for OpenTap.ITypeDataProvider:
OpenTap.ITapPlugin

Public Member Functions

ITypeData GetTypeData (string identifier)
 Gets the type data from an identifier. More...
 
ITypeData GetTypeData (object obj)
 Gets the type data from an object. More...
 

Properties

double Priority [get]
 The priority of this type info provider. Note, this decides the order in which the type info is resolved.
 

Detailed Description

Hook into type reflection system. Provides type data for a given object or identifier.

Member Function Documentation

◆ GetTypeData() [1/2]

ITypeData OpenTap.ITypeDataProvider.GetTypeData ( object  obj)

Gets the type data from an object.

Parameters
objThe object to get type information for.
Returns
A representation of the type of the specified object or null if this provider cannot handle the specified type of object.

◆ GetTypeData() [2/2]

ITypeData OpenTap.ITypeDataProvider.GetTypeData ( string  identifier)

Gets the type data from an identifier.

Parameters
identifierThe identifier to get type information for.
Returns
A representation of the type specified by identifier or null if this provider cannot handle the specified identifier.

OpenTAP 9.24 API built Tue Apr 30 2024 13:44:42