You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2018. It is now read-only.
Due to the new TagHelper addition of Init used to setup your TagHelperContext and other related item bag info for executed children to consume we decided that the ability to execute children doesn't entirely make sense on the context object since it has no connection to the actual structure of the element.
The alternative would have been to make GetChildContentAsync throw when invoked within the Init method (yuck).
This delegate returns the output of the child elements. In MVC tag helpers that use this for example, the return value is often not used -- it's just called to ensure children have executed (and output whatever they're going to output).
dougbu
changed the title
Discussion: TagHelperContext.GetChildContentAsync moved to TagHelperOutput
Discussion: Breaking changes for tag helper authors in RC1
Oct 23, 2015
Due to the new
TagHelper
addition ofInit
used to setup yourTagHelperContext
and other related item bag info for executed children to consume we decided that the ability to execute children doesn't entirely make sense on the context object since it has no connection to the actual structure of the element.The alternative would have been to make
GetChildContentAsync
throw when invoked within theInit
method (yuck).Before
After
The text was updated successfully, but these errors were encountered: