Esempio n. 1
0
 /// <summary>
 /// Adds a new line on file.
 /// </summary>
 /// <param name="line"></param>
 public void AddLine(LineBuilder line) => _lines.Add(line);
Esempio n. 2
0
 /// <summary>
 /// Create a new line to the file.
 /// </summary>
 public void NewLine()
 {
     _currentLine = new LineBuilder();
     _lines.Add(_currentLine);
 }
Esempio n. 3
0
 /// <summary>
 /// Adds a header to the file.
 /// </summary>
 /// <param name="line"></param>
 public void AddHeader(LineBuilder line) => _header = line;