private static CreateElement ( |
||
match | ||
Результат | IHtmlElement |
private static IHtmlElement CreateElement(Match match)
{
var element = new HtmlElement {
TagName = match.Groups["tagName"].Value,
InnerHtml = match.Groups["innerHtml"].Value
};
var attributeMatches = GetAttributeMatches(match);
SetAttributes(element, attributeMatches);
return element;
}