public void AppendNumberedGroup(object content) { if (content == null) throw new ArgumentNullException(nameof(content)); AppendNumberedGroupStart(); AppendGroupContent(content); AppendGroupEnd(); }