Table of Contents

Struct ColumnsByIndex

Namespace
The.Persistence
Assembly
Instagile.dll

column-value array for complete rows

[MessagePackObject(false)]
public readonly struct ColumnsByIndex
Inherited Members

Constructors

ColumnsByIndex(IEnumerable<object?>)

public ColumnsByIndex(IEnumerable<object?> values)

Parameters

values IEnumerable<object>

ColumnsByIndex(IEnumerable<AttributeBase>)

public ColumnsByIndex(IEnumerable<AttributeBase> attributes)

Parameters

attributes IEnumerable<AttributeBase>

ColumnsByIndex(ValueBox?[])

[SerializationConstructor]
[JsonConstructor]
public ColumnsByIndex(ValueBox?[] boxes)

Parameters

boxes ValueBox[]

Properties

Boxes

[Key(0)]
public ValueBox?[] Boxes { get; }

Property Value

ValueBox[]

this[int]

public object? this[int key] { get; set; }

Parameters

key int

Property Value

object

Methods

AsList()

public IReadOnlyList<object?> AsList()

Returns

IReadOnlyList<object>

Equals(object?)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and this instance are the same type and represent the same value; otherwise, false.

GetEnumerator()

public IEnumerator<object?> GetEnumerator()

Returns

IEnumerator<object>

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

A 32-bit signed integer that is the hash code for this instance.

Set(int, object)

public void Set(int key, object value)

Parameters

key int
value object

Operators

operator ==(ColumnsByIndex, ColumnsByIndex)

public static bool operator ==(ColumnsByIndex left, ColumnsByIndex right)

Parameters

left ColumnsByIndex
right ColumnsByIndex

Returns

bool

operator !=(ColumnsByIndex, ColumnsByIndex)

public static bool operator !=(ColumnsByIndex left, ColumnsByIndex right)

Parameters

left ColumnsByIndex
right ColumnsByIndex

Returns

bool