public virtual void Visit() { var tagHelperSpans = _syntaxTree.GetTagHelperSpans(); foreach (var span in tagHelperSpans) { VisitTagHelperSpan(span); WriteNewLine(); } }
public override IReadOnlyList <TagHelperSpan> GetTagHelperSpans(RazorSyntaxTree syntaxTree) { var result = syntaxTree.GetTagHelperSpans(); return(result.Select(item => new TagHelperSpan(item.Span, item.Binding)).ToArray()); }