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
valuesIEnumerable<object>
ColumnsByIndex(IEnumerable<AttributeBase>)
public ColumnsByIndex(IEnumerable<AttributeBase> attributes)
Parameters
attributesIEnumerable<AttributeBase>
ColumnsByIndex(ValueBox?[])
[SerializationConstructor]
[JsonConstructor]
public ColumnsByIndex(ValueBox?[] boxes)
Parameters
boxesValueBox[]
Properties
Boxes
[Key(0)]
public ValueBox?[] Boxes { get; }
Property Value
- ValueBox[]
this[int]
public object? this[int key] { get; set; }
Parameters
keyint
Property Value
Methods
AsList()
public IReadOnlyList<object?> AsList()
Returns
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current instance.
Returns
- bool
true if
objand this instance are the same type and represent the same value; otherwise, false.
GetEnumerator()
public IEnumerator<object?> GetEnumerator()
Returns
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
Operators
operator ==(ColumnsByIndex, ColumnsByIndex)
public static bool operator ==(ColumnsByIndex left, ColumnsByIndex right)
Parameters
leftColumnsByIndexrightColumnsByIndex
Returns
operator !=(ColumnsByIndex, ColumnsByIndex)
public static bool operator !=(ColumnsByIndex left, ColumnsByIndex right)
Parameters
leftColumnsByIndexrightColumnsByIndex