Class RecordBase
The base class for all records classes. A code query result is represented through a sequence of record objects.
public abstract class RecordBase : IRecord
- Inheritance
-
RecordBase
- Implements
- Derived
- Inherited Members
- Extension Methods
Remarks
Having a base class for all records classes is convenient since a code query result is made of a IEnumerable$gt;RecordBase$lt;
Constructor (1)
RecordBase()
protected RecordBase()
Properties (2)
this[int]
Returns this record cell value, for the cell defined at the zero-based index index.
public abstract RecordCellValue this[int index] { get; }
Parameters
indexintThe zero-based index of the cell.
Property Value
Exceptions
- ArgumentOutOfRangeException
indexis not in the range [0, this.RecordArity - 1]
RecordArity
Returns this record class number of cells, from one to 16 cells, this limit is defined by NDepend.CodeQuery.RecordBase.MAX_ARITY.
public abstract int RecordArity { get; }
Property Value
Method (1)
AlreadyAccessed(int)
Don't use this method, it is a private implementation detail.
protected bool AlreadyAccessed(int index)
Parameters
indexintPrivate implementation detail.