OpenTAP 9.24
API Reference
Public Member Functions | List of all members
OpenTap.TypeDataProviderStack Class Reference

Represents a stack of ITypeDataProvider/IStackedTypeDataProvider that is used to get TypeData for a given type. The providers on this stack are called in order until a provider returuns a More...

Public Member Functions

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

Detailed Description

Represents a stack of ITypeDataProvider/IStackedTypeDataProvider that is used to get TypeData for a given type. The providers on this stack are called in order until a provider returuns a

Member Function Documentation

◆ GetTypeData() [1/2]

ITypeData OpenTap.TypeDataProviderStack.GetTypeData ( object  obj)
inline

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 no providers can handle the specified type of object.

◆ GetTypeData() [2/2]

ITypeData OpenTap.TypeDataProviderStack.GetTypeData ( string  identifier)
inline

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 no providers can handle the specified identifier.

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