Struct ExcelColumnSchema
One column's guessed shape, as returned by InferSchema(IExcelSheet, SchemaInferenceOptions?).
public readonly record struct ExcelColumnSchema : IEquatable<ExcelColumnSchema>
- Implements
- Inherited Members
Remarks
This is a guess over a bounded sample, not a guarantee about the whole sheet — verify it fits before trusting it. Feed it into Build<T>(Action<ExcelRowMapBuilder<T>>, ExcelParserOptions?) to build a real map.
Properties
Index
Gets the column's zero-based position in the sheet.
public int Index { get; init; }
Property Value
IsNullable
Gets a value indicating whether any sampled row left this column empty.
public bool IsNullable { get; init; }
Property Value
Name
Gets the column's trimmed header text, or null when the header row was skipped or that header cell was blank — in which case the column is addressable only by Index.
public string? Name { get; init; }
Property Value
Type
Gets the value type every sampled cell in this column agreed on.
public ExcelColumnType Type { get; init; }