Exemple #1
0
 public void Dispose()
 {
     if (_sharedStrings != null)
     {
         _sharedStrings.Clear();
         _sharedStrings = null;
     }
     if (_sharedStringsList != null)
     {
         _sharedStringsList.Clear();
         _sharedStringsList = null;
     }
     _vba = null;
     if (_worksheets != null)
     {
         _worksheets.Dispose();
         _worksheets = null;
     }
     _package    = null;
     _properties = null;
     if (_formulaParser != null)
     {
         _formulaParser.Dispose();
         _formulaParser = null;
     }
 }