Show / Hide Table of Contents

Class DataModelTypeSpace

Type space to convert CLR reflection objects into the corresponding slim representation of reflection objects with data model awareness.

Inheritance
System.Object
TypeSpace
DataModelTypeSpace
Inherited Members
TypeSpace.MapType(Type, TypeSlim)
TypeSpace.ConvertType(Type)
TypeSpace.GetMember(MemberInfo)
TypeSpace.GetConstructor(ConstructorInfo)
TypeSpace.GetMethod(MethodInfo)
TypeSpace.GetSimpleMethodCore(MethodInfo, TypeSlim, ReadOnlyCollection<TypeSlim>, TypeSlim)
TypeSpace.GetGenericDefinitionMethodCore(MethodInfo, TypeSlim, ReadOnlyCollection<TypeSlim>, ReadOnlyCollection<TypeSlim>, TypeSlim)
TypeSpace.GetGenericMethodCore(MethodInfo, GenericDefinitionMethodInfoSlim, ReadOnlyCollection<TypeSlim>)
TypeSpace.GetProperty(PropertyInfo)
TypeSpace.GetField(FieldInfo)
Namespace: Nuqleon.DataModel.CompilerServices.Bonsai
Assembly: Nuqleon.DataModel.CompilerServices.dll
Syntax
public class DataModelTypeSpace : TypeSpace

Constructors

DataModelTypeSpace()

Creates the type space.

Declaration
public DataModelTypeSpace()

Properties

TypeConverter

Gets the converter used to create slim representations of types.

Declaration
protected override TypeToTypeSlimConverter TypeConverter { get; }
Property Value
Type Description
TypeToTypeSlimConverter
Overrides
TypeSpace.TypeConverter

Methods

GetConstructorCore(ConstructorInfo, TypeSlim, ReadOnlyCollection<TypeSlim>)

Creates a slim representation of a type constructor.

Declaration
protected override ConstructorInfoSlim GetConstructorCore(ConstructorInfo originalConstructor, TypeSlim declaringTypeSlim, ReadOnlyCollection<TypeSlim> parameterTypeSlims)
Parameters
Type Name Description
System.Reflection.ConstructorInfo originalConstructor

The original constructor.

TypeSlim declaringTypeSlim

The slim representation of the declaring type.

System.Collections.ObjectModel.ReadOnlyCollection<TypeSlim> parameterTypeSlims

The slim representations of the constructor parameter types.

Returns
Type Description
ConstructorInfoSlim

The slim representation of the constructor.

Overrides
TypeSpace.GetConstructorCore(ConstructorInfo, TypeSlim, ReadOnlyCollection<TypeSlim>)

GetFieldCore(FieldInfo, TypeSlim, TypeSlim)

Creates a slim representation of a type field.

Declaration
protected override FieldInfoSlim GetFieldCore(FieldInfo originalField, TypeSlim declaringTypeSlim, TypeSlim fieldTypeSlim)
Parameters
Type Name Description
System.Reflection.FieldInfo originalField

The original field.

TypeSlim declaringTypeSlim

The slim representation of the declaring type.

TypeSlim fieldTypeSlim

The slim representation of the field type.

Returns
Type Description
FieldInfoSlim

The slim representation of the field.

Overrides
TypeSpace.GetFieldCore(FieldInfo, TypeSlim, TypeSlim)

GetPropertyCore(PropertyInfo, TypeSlim, TypeSlim, ReadOnlyCollection<TypeSlim>)

Creates a slim representation of a type property.

Declaration
protected override PropertyInfoSlim GetPropertyCore(PropertyInfo originalProperty, TypeSlim declaringTypeSlim, TypeSlim propertyTypeSlim, ReadOnlyCollection<TypeSlim> indexParameterTypeSlims)
Parameters
Type Name Description
System.Reflection.PropertyInfo originalProperty

The original property.

TypeSlim declaringTypeSlim

The slim representation of the declaring type.

TypeSlim propertyTypeSlim

The slim representation of the property type.

System.Collections.ObjectModel.ReadOnlyCollection<TypeSlim> indexParameterTypeSlims

The slim representations of the index parameter types.

Returns
Type Description
PropertyInfoSlim

The slim representation of the property.

Overrides
TypeSpace.GetPropertyCore(PropertyInfo, TypeSlim, TypeSlim, ReadOnlyCollection<TypeSlim>)
In This Article
Back to top Generated by DocFX