DataTableRow<'Value> Type

Represents a row in a DataTable containing object variants, placement rules, and optional leaf tables.

Record fields

Record Field Description

LeafsTable

Full Usage: LeafsTable

Field type: Option<DynamicLengthArray<DataTableRow<'Value>>>
Field type: Option<DynamicLengthArray<DataTableRow<'Value>>>

Name

Full Usage: Name

Field type: string
Field type: string

PlacementRule

Full Usage: PlacementRule

Field type: Rule
Field type: Rule

Variants

Full Usage: Variants

Field type: DynamicLengthArray<ObjectVariant<'Value>>
Field type: DynamicLengthArray<ObjectVariant<'Value>>

Constructors

Constructor Description

DataTableRow(name, instancesArray, placementRule, leafsArray)

Full Usage: DataTableRow(name, instancesArray, placementRule, leafsArray)

Parameters:
Returns: DataTableRow<'Value>
name : string
instancesArray : ObjectVariant<'Value> array
placementRule : Rule
leafsArray : DataTableRow<'Value> array
Returns: DataTableRow<'Value>

DataTableRow(name, instancesArray, placementRule, leafsArray)

Full Usage: DataTableRow(name, instancesArray, placementRule, leafsArray)

Parameters:
Returns: DataTableRow<'Value>
name : string
instancesArray : ObjectVariant<'Value> array
placementRule : Rule
leafsArray : Option<DataTableRow<'Value> array>
Returns: DataTableRow<'Value>

DataTableRow(name, instancesDynamicArray, placementRule, leafsArray)

Full Usage: DataTableRow(name, instancesDynamicArray, placementRule, leafsArray)

Parameters:
Returns: DataTableRow<'Value>
name : string
instancesDynamicArray : DynamicLengthArray<ObjectVariant<'Value>>
placementRule : Rule
leafsArray : Option<DynamicLengthArray<DataTableRow<'Value>>>
Returns: DataTableRow<'Value>

Instance members

Instance member Description

this.LengthOfVariantsArray

Full Usage: this.LengthOfVariantsArray

Returns: int

Gets the length of the variants array.

Returns: int

this.RestoreLeafsTable

Full Usage: this.RestoreLeafsTable

Restores the leafs table array to its original length if it is not Option.None.

this.RestoreVariants

Full Usage: this.RestoreVariants

Restores the variants array to its original length.