AspUnitRunner.Core.Html.HtmlElementParser.CreateElement C# (CSharp) Метод

CreateElement() приватный статический Метод

private static CreateElement ( Match match ) : IHtmlElement
match System.Text.RegularExpressions.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;
        }