Example #1
0
 public DocumentBuilder(BlockCollection newCollection)
 {
     current = newCollection ?? throw new ArgumentNullException(nameof(newCollection));
 }
Example #2
0
 public DocumentBuilder Header(string title)
 {
     current = current.AddChild(new Header(title));
     return(this);
 }