Skip to content

Commit

Permalink
Add alternate constructor (WIP)
Browse files Browse the repository at this point in the history
  • Loading branch information
omaus committed Mar 9, 2023
1 parent a004ddc commit 95a0866
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/FsSpreadsheet/FsWorksheet.fs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ type FsWorksheet (name, fsRows, fsTables, fsCellsCollection) =
new (name) =
FsWorksheet(name, [], [], FsCellsCollection())

// TO DO: finish
//new (name, (fsCells : seq<FsCell>)) =
// let cellsCollection = FsCellsCollection()
// fsCells
// |> Seq.iter (
// fun c -> cellsCollection.Add(c.Address.RowNumber, c.Address.ColumnNumber, c)
// )
// let rows =
// FsWorksheet(name)


// ----------
// PROPERTIES
Expand Down

0 comments on commit 95a0866

Please sign in to comment.