protected override void SetTitle(String value) { var title = DocumentElement.FindDescendant <IHtmlTitleElement>(); if (title == null) { var head = Head; if (head == null) { return; } title = new HtmlTitleElement(this); head.AppendChild(title); } title.TextContent = value; }
protected override void SetTitle(String value) { var title = DocumentElement.FindDescendant<IHtmlTitleElement>(); if (title == null) { var head = Head; if (head == null) { return; } title = new HtmlTitleElement(this); head.AppendChild(title); } title.TextContent = value; }