Table of Contents

Struct XlsbCell

Namespace
ExcelReader.Core.Writer.Xlsb
Assembly
ExcelReader.Core.dll

An immutable, typed cell value for WriteRow(ReadOnlySpan<XlsbCell>), created via one of the Create(string?) factory overloads.

public readonly record struct XlsbCell : IEquatable<XlsbCell>
Implements
Inherited Members

Properties

Empty

An empty cell, written as a gap in the row.

public static XlsbCell Empty { get; }

Property Value

XlsbCell

Methods

Create(bool)

Creates a boolean cell from value.

public static XlsbCell Create(bool value)

Parameters

value bool

Returns

XlsbCell

Create(DateTime)

Creates a date cell from value.

public static XlsbCell Create(DateTime value)

Parameters

value DateTime

Returns

XlsbCell

Create(decimal)

Creates a numeric cell from value.

public static XlsbCell Create(decimal value)

Parameters

value decimal

Returns

XlsbCell

Create(double)

Creates a numeric cell from value.

public static XlsbCell Create(double value)

Parameters

value double

Returns

XlsbCell

Create(int)

Creates a numeric cell from value.

public static XlsbCell Create(int value)

Parameters

value int

Returns

XlsbCell

Create(long)

Creates a numeric cell from value.

public static XlsbCell Create(long value)

Parameters

value long

Returns

XlsbCell

Create(bool?)

Creates a boolean cell from value, or Empty if it has no value.

public static XlsbCell Create(bool? value)

Parameters

value bool?

Returns

XlsbCell

Create(DateTime?)

Creates a date cell from value, or Empty if it has no value.

public static XlsbCell Create(DateTime? value)

Parameters

value DateTime?

Returns

XlsbCell

Create(decimal?)

Creates a numeric cell from value, or Empty if it has no value.

public static XlsbCell Create(decimal? value)

Parameters

value decimal?

Returns

XlsbCell

Create(double?)

Creates a numeric cell from value, or Empty if it has no value.

public static XlsbCell Create(double? value)

Parameters

value double?

Returns

XlsbCell

Create(int?)

Creates a numeric cell from value, or Empty if it has no value.

public static XlsbCell Create(int? value)

Parameters

value int?

Returns

XlsbCell

Create(long?)

Creates a numeric cell from value, or Empty if it has no value.

public static XlsbCell Create(long? value)

Parameters

value long?

Returns

XlsbCell

Create(float?)

Creates a numeric cell from value, or Empty if it has no value.

public static XlsbCell Create(float? value)

Parameters

value float?

Returns

XlsbCell

Create(float)

Creates a numeric cell from value.

public static XlsbCell Create(float value)

Parameters

value float

Returns

XlsbCell

Create(string?)

Creates a string cell from value, or Empty if it is null.

public static XlsbCell Create(string? value)

Parameters

value string

Returns

XlsbCell

Create<T>(T?)

Creates a numeric cell from value, or Empty if it has no value.

public static XlsbCell Create<T>(T? value) where T : struct, IUtf8SpanFormattable

Parameters

value T?

Returns

XlsbCell

Type Parameters

T

Create<T>(T)

Creates a numeric cell from value, formatting it via T's UTF-8 span formatting.

public static XlsbCell Create<T>(T value) where T : IUtf8SpanFormattable

Parameters

value T

Returns

XlsbCell

Type Parameters

T