Table of Contents

Class TypeDataProviderExtensions

Namespace
Loehnert.TypeAndResult.Provider
Assembly
Loehnert.TypeAndResult.dll

Extensions for type data providers.

public static class TypeDataProviderExtensions
Inheritance
TypeDataProviderExtensions
Inherited Members

Methods

LoadWithInheritance(ITypeDataProvider, string)

Loads the type and recursive all base types.

public static TypeData LoadWithInheritance(this ITypeDataProvider typeDataProvider, string typeIdentifier)

Parameters

typeDataProvider ITypeDataProvider

The type data provider for loading.

typeIdentifier string

Identifier for the type.

Returns

TypeData

By recursive inheritance created TypeData instance. Inherit(TypeData, TypeData)

Remarks

To use type data inheritance you have to export the additional type data parameter BaseTypeParameterDefinition. This parameter defines the name of the base type.

Exceptions

TypeNotFoundException

Thrown when no type or base type with the given type identifier is found.