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