private void ResetStringTypes(IEnumerable <XmlDocument> documents, WorksheetStringType toStringType) { foreach (var document in documents) { sheetDocumentSaver.ResetStringTypes(document, toStringType); } }
public XmlDocument ResetStringTypes(XmlDocument document, WorksheetStringType toStringType) { try { targetDocument = document; targetStringType = toStringType; ResetStringTypesIn(targetDocument); return targetDocument; } catch (Exception e) { throw new ExcelSheetException(UpdateErrorMessage + e.Message); } }