Table of Contents

Struct RecursiveInfo

Namespace
Rinku.Mapping
Assembly
Rinku.dll

Records the column usage and parent type at an earlier mapping point.

public readonly struct RecursiveInfo
Inherited Members
Extension Methods

Constructors

RecursiveInfo(Type[], int)

Records the column usage and parent type at an earlier mapping point.

public RecursiveInfo(Type[] previousTypes, int colUsedToBeat)

Parameters

previousTypes Type[]
colUsedToBeat int

Fields

ColUsedToBeat

Gets the number of columns claimed when this path began.

public readonly int ColUsedToBeat

Field Value

int

PreviousTypes

Gets the parent types already visited by this path.

public readonly Type[] PreviousTypes

Field Value

Type[]

Properties

LatestUsedType

Gets the latest parent type.

public Type LatestUsedType { get; }

Property Value

Type

Methods

CanContinue(Type, int, out RecursiveInfo)

Tries to continue with another type. Returns false when the same path would repeat without claiming another column.

public bool CanContinue(Type usedType, int currentColUsed, out RecursiveInfo currentUsage)

Parameters

usedType Type
currentColUsed int
currentUsage RecursiveInfo

Returns

bool