Struct RecursiveInfo
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
Fields
ColUsedToBeat
Gets the number of columns claimed when this path began.
public readonly int ColUsedToBeat
Field Value
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
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
usedTypeTypecurrentColUsedintcurrentUsageRecursiveInfo