public void Dispose()
 {
     CellsCollection.Clear();
     ColumnsCollection.Clear();
     RowsCollection.Clear();
     MergedRanges.RemoveAll();
 }
示例#2
0
 // Used by Janitor.Fody
 private void DisposeManaged()
 {
     CellsCollection.Clear();
     ColumnsCollection.Clear();
     RowsCollection.Clear();
     MergedRanges.RemoveAll();
 }
        public void Clear()
        {
            Count = 0;
            RowsUsed.Clear();
            ColumnsUsed.Clear();

            RowsCollection.Clear();
            MaxRowUsed    = 0;
            MaxColumnUsed = 0;
        }