Class TypeDataProviderExtensions
Extensions for type data providers.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Namespace: Loehnert.TypeAndResult.Provider
Assembly: Loehnert.TypeAndResult.dll
Syntax
public static class TypeDataProviderExtensions
Methods
LoadWithInheritance(ITypeDataProvider, String)
Loads the type and recursive all base types.
Declaration
public static TypeData LoadWithInheritance(this ITypeDataProvider typeDataProvider, string typeIdentifier)
Parameters
Type | Name | Description |
---|---|---|
ITypeDataProvider | typeDataProvider | The type data provider for loading. |
String | typeIdentifier | Identifier for the type. |
Returns
Type | Description |
---|---|
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
Type | Condition |
---|---|
TypeNotFoundException | Thrown when no type or base type with the given type identifier is found. |