Class Record<T0, T1, T2>
The record generic class used for code query results made of sequence of records objects with 3 cells each.
public sealed class Record<T0, T1, T2> : RecordBase, IRecord
Type Parameters
T0The type parameter of the cell at index 0.
T1The type parameter of the cell at index 1.
T2The type parameter of the cell at index 2.
- Inheritance
-
Record<T0, T1, T2>
- Implements
- Inherited Members
- Extension Methods
Constructor (1)
Record()
Create an instance of Record<T0, T1, T2>. This constructor is not intended to be used in your code.
public Record()
Fields (3)
m_P0
This read-only field represents the record' cell' value of at index 0.
public T0 m_P0
Field Value
- T0
Remarks
This field has no property getter for optimization reason.
m_P1
This represents the record' cell' value of at index 1.
public T1 m_P1
Field Value
- T1
Remarks
This field has no property getter for optimization reason.
It is not read-only because when accessing it through RecordCellValue, a sequence is getting transformed into an array and the array is assigned to this field.
m_P2
This represents the record' cell' value of at index 2.
public T2 m_P2
Field Value
- T2
Remarks
This field has no property getter for optimization reason.
It is not read-only because when accessing it through RecordCellValue, a sequence is getting transformed into an array and the array is assigned to this field.
Properties (2)
this[int]
Returns this record cell value, for the cell defined at the zero-based index index.
public override RecordCellValue this[int index] { get; }
Parameters
indexintThe zero-based index of the cell.
Property Value
Exceptions
- ArgumentOutOfRangeException
indexis not in the range [0, 2]
RecordArity
Returns this record class number of cells, which is 3.
public override int RecordArity { get; }