Question

I am creating a custom TagHelper. A simplified version looks like this:

<display>Harry Potter</display>

I can build a replacement tag and all its attributes, but how do I get the content out of the <display> tag?

Here is the relevant code:

public override void Process(TagHelperContext context, TagHelperOutput output)
{
   // Neither 'context' or 'output' have members that allow access to content?

   ...
   output.TagName = "div";
}

Once inside the Process method there is nothing that seems to reference the content of the tag we're working on.