public void OnSubElementCompleted(MdElement subElem) { this.orderedList.AddListItem(subElem as ListItem); }
public void AddMdElement(MdElement elem) { base.SubElements.Add(elem); }
public void OnSubElementCompleted(MdElement subElem) { this.paragraph.AddMdElement(subElem); }
public void OnSubElementCompleted(MdElement subElem) { this.listItem.AddMdElement(subElem); }
//todo restrict the possibility to add any MdElement as a Header public void AddHeader(MdElement header) { this.elements.Add(header); }