Class ProtoSheets

Namespace
ProtoTest.Sheets
Assembly
ProtoTest.Sheets.dll

Entry point for opening generated workbooks.

public sealed class ProtoSheets
Inheritance
ProtoSheets
Inherited Members
Extension Methods

Methods

Open(IProtoBinaryContent, string?)

Opens a workbook straight from downloaded content - a REST response, an attachment, anything carrying named bytes - so the common test reads as one line.

public ProtoWorkbook Open(IProtoBinaryContent content, string? name = null)

Parameters

content IProtoBinaryContent
name string

Returns

ProtoWorkbook

Open(Stream, string)

Opens a workbook from memory, for example a captured attachment.

public ProtoWorkbook Open(Stream stream, string name = "workbook.xlsx")

Parameters

stream Stream
name string

Returns

ProtoWorkbook

Open(string)

Opens a workbook from disk. Any producer's .xlsx works - the file is read as OpenXML.

public ProtoWorkbook Open(string path)

Parameters

path string

Returns

ProtoWorkbook