From 95a08668a5d678558f26be85974e4dbdbd009dd5 Mon Sep 17 00:00:00 2001 From: omaus Date: Thu, 9 Mar 2023 18:12:30 +0100 Subject: [PATCH] Add alternate constructor (WIP) --- src/FsSpreadsheet/FsWorksheet.fs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/FsSpreadsheet/FsWorksheet.fs b/src/FsSpreadsheet/FsWorksheet.fs index 5e8768ef..337abdf6 100644 --- a/src/FsSpreadsheet/FsWorksheet.fs +++ b/src/FsSpreadsheet/FsWorksheet.fs @@ -20,6 +20,16 @@ type FsWorksheet (name, fsRows, fsTables, fsCellsCollection) = new (name) = FsWorksheet(name, [], [], FsCellsCollection()) + // TO DO: finish + //new (name, (fsCells : seq)) = + // let cellsCollection = FsCellsCollection() + // fsCells + // |> Seq.iter ( + // fun c -> cellsCollection.Add(c.Address.RowNumber, c.Address.ColumnNumber, c) + // ) + // let rows = + // FsWorksheet(name) + // ---------- // PROPERTIES