Esempio n. 1
0
 public virtual void SaveAs(string fullName, Encoding encoding = null)
 {
     if (string.IsNullOrWhiteSpace(fullName))
     {
         throw new ArgumentNullException(nameof(fullName));
     }
     _fileFullName = fullName;
     NfPath.SaveXml(_xmlDocument, fullName, encoding);
 }
Esempio n. 2
0
 /// <summary>
 /// Writes the current in memory contents to file.
 /// </summary>
 public virtual void Save(Encoding encoding = null)
 {
     NfPath.SaveXml(_xmlDocument, _fileFullName, encoding);
 }