Class ProtoRange

Namespace
ProtoTest.Sheets
Assembly
ProtoTest.Sheets.dll

A rectangular range of cells, row-major, with shape assertions.

public sealed class ProtoRange
Inheritance
ProtoRange
Inherited Members
Extension Methods

Properties

ColumnCount

public int ColumnCount { get; }

Property Value

int

this[int, int]

public ProtoCell this[int row, int column] { get; }

Parameters

row int
column int

Property Value

ProtoCell

Reference

public string Reference { get; }

Property Value

string

RowCount

public int RowCount { get; }

Property Value

int

Rows

public IReadOnlyList<IReadOnlyList<ProtoCell>> Rows { get; }

Property Value

IReadOnlyList<IReadOnlyList<ProtoCell>>

Should

The positive assertions of this range, for example Should.Match([...]).

public ProtoRangeAssertions Should { get; }

Property Value

ProtoRangeAssertions

ShouldNot

The negated assertions of this range, for example ShouldNot.HaveDimensions(3, 3).

public ProtoRangeAssertions ShouldNot { get; }

Property Value

ProtoRangeAssertions