Class ProtoCell
One cell. Values are typed best-effort from the OpenXML cell type and number format: text, number, boolean or date, with the formula text kept alongside its cached value. Assertions are traced and fail with the sheet, reference, expected and actual value.
public sealed class ProtoCell
- Inheritance
-
ProtoCell
- Inherited Members
- Extension Methods
Properties
Boolean
public bool? Boolean { get; }
Property Value
- bool?
Date
public DateTime? Date { get; }
Property Value
Formula
The formula text when the cell holds one; the cached result is in the typed values.
public string? Formula { get; }
Property Value
IsEmpty
public bool IsEmpty { get; }
Property Value
Number
public double? Number { get; }
Property Value
Reference
public string Reference { get; }
Property Value
Should
The positive assertions of this cell, for example Should.Be("Total").
public ProtoCellAssertions Should { get; }
Property Value
ShouldNot
The negated assertions of this cell, for example ShouldNot.BeBlank().
public ProtoCellAssertions ShouldNot { get; }
Property Value
Text
public string? Text { get; }