public void Dispose() { Worksheets.ForEach(w => w.Dispose()); }
public void Dispose() { Worksheets.ForEach(w => (w as XLWorksheet).Cleanup()); }
/// <summary> /// Force recalculation of all cell formulas. /// </summary> public void RecalculateAllFormulas() { InvalidateFormulas(); Worksheets.ForEach(sheet => sheet.RecalculateAllFormulas()); }
// Used by Janitor.Fody private void DisposeManaged() { Worksheets.ForEach(w => (w as XLWorksheet).Cleanup()); }