Table of Contents

Struct ObjectPhaseRow

Namespace
TdbIO
Assembly
TdbIO.dll

Decoded row of table 141 (object_phase, size 8): project phase assignment.

public readonly record struct ObjectPhaseRow : IEquatable<ObjectPhaseRow>

Implements

Inherited Members

Constructors

ObjectPhaseRow(int, int)

Decoded row of table 141 (object_phase, size 8): project phase assignment.

public ObjectPhaseRow(int ObjectId, int PhaseNumber)

Parameters

ObjectId int

The object identifier.

PhaseNumber int

The phase number.

Fields

ExpectedRowSize

The expected row body size in bytes: 8.

public const int ExpectedRowSize = 8

Field Value

int

TableKey

The table key in model database sections: 141.

public const int TableKey = 141

Field Value

int

Properties

ObjectId

The object identifier.

public int ObjectId { get; init; }

Property Value

int

PhaseNumber

The phase number.

public int PhaseNumber { get; init; }

Property Value

int

Methods

Decode(ReadOnlySpan<byte>)

Decodes a row body into an TdbIO.ObjectPhaseRow.

public static ObjectPhaseRow Decode(ReadOnlySpan<byte> body)

Parameters

body ReadOnlySpan<byte>

Returns

ObjectPhaseRow

Decode(TableRow)

Decodes the body of row into an TdbIO.ObjectPhaseRow.

public static ObjectPhaseRow Decode(TableRow row)

Parameters

row TableRow

Returns

ObjectPhaseRow