Table of Contents

Class Record<T0, T1>

Namespace
NDepend.CodeQuery
Assembly
NDepend.API.dll

The record generic class used for code query results made of sequence of records objects with 2 cells each.

public sealed class Record<T0, T1> : RecordBase, IRecord

Type Parameters

T0

The type parameter of the cell at index 0.

T1

The type parameter of the cell at index 1.

Inheritance
Record<T0, T1>
Implements
Inherited Members
Extension Methods

Constructor (1)

Record()

Create an instance of Record<T0, T1>. This constructor is not intended to be used in your code.

public Record()

Fields (2)

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.

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

index int

The zero-based index of the cell.

Property Value

RecordCellValue

Exceptions

ArgumentOutOfRangeException

index is not in the range [0, 1]

RecordArity

Returns this record class number of cells, which is 2.

public override int RecordArity { get; }

Property Value

int