22 lines
482 B
C#
22 lines
482 B
C#
namespace bts.BlueOrb;
|
|
|
|
using BCG;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
public class BlueRowColumnWrapper : IBlueRow {
|
|
readonly int index;
|
|
readonly IList<object?>[] columns;
|
|
|
|
public BlueRowColumnWrapper(IBlueTableSchema schema, int index, IList<object?>[] columns) {
|
|
this.schema = schema;
|
|
this.index = index;
|
|
this.columns = columns;
|
|
}
|
|
|
|
public object? this[int index] =>
|
|
columns[index][this.index];
|
|
|
|
public IBlueTableSchema schema { get; }
|
|
}
|