aspnetcore/test/testapps/BasicTestApp
Ryan Nowak d4cbb86f46 Add Support for Templated Components (#1404)
* Test namespace cleanup

* Add recognication for RenderFragment in tag helpers

* Remove dead code from node writers

* refactor type check

* Continue to treat child content as a delegate in codegen

* Add extension to enumerate child content

* Reorganize code generation tests

These were growing a bit disorganized, and weren't really result in good
code reuse.

* fix test base class

* Add some child-content tests

* Add an explicit node for ChildContent

Adds a strongly typed node to represent a 'ChildContent' and what it
contains. This allows us to simplify the code generation path,
detect/processes more issues in IR passes, and will be essential for
supporting multiple child content.

* Ignore ChildContent in components when it's just whitespace

* Add diagnostic for duplicate child content

* Add support for explicit child content elements

Precursor to support for multiple child content items

* Add support for multiple child-content elements

* Change delegate signature for RenderFragment<T>

* Clean up Tag Helper constants

* Allow RenderFragment<T> as a child content

* Allow renaming the template parameter

* Improve error message for invalid child content

* Add diagnostic for repeated child content parameter names
2018-09-10 18:59:51 -07:00
..
HierarchicalImportsTest
HttpClientTest
InteropTest
Properties
RouterTest Don't intercept clicks for links that open in external frames #1352 (#1354) 2018-09-03 10:31:37 +01:00
wwwroot Fix returning arrays in async JS interop calls. Fixes #1205 2018-07-27 10:11:45 -07:00
AddRemoveChildComponents.cshtml
AfterRenderInteropComponent.cshtml
AsyncEventHandlerComponent.cshtml
BasicTestApp.csproj
BindCasesComponent.cshtml
ComponentRefComponent.cshtml
CounterComponent.cshtml
CounterComponentUsingChild.cshtml
CounterComponentWrapper.cshtml
DataDashComponent.cshtml
ElementRefComponent.cshtml
EventBubblingComponent.cshtml
EventPreventDefaultComponent.cshtml preventDefault for form onsubmit handlers. Fixes #951 2018-07-24 08:11:02 -07:00
ExternalContentPackage.cshtml
FocusEventComponent.cshtml
HtmlBlockChildContent.cshtml Reenable markup blocks (#1286) 2018-08-10 16:29:39 -07:00
HtmlEncodedChildContent.cshtml Reenable markup blocks (#1286) 2018-08-10 16:29:39 -07:00
HtmlMixedChildContent.cshtml Reenable markup blocks (#1286) 2018-08-10 16:29:39 -07:00
Index.cshtml Add Support for Templated Components (#1404) 2018-09-10 18:59:51 -07:00
InteropComponent.cshtml Fix returning arrays in async JS interop calls. Fixes #1205 2018-07-27 10:11:45 -07:00
KeyPressEventComponent.cshtml
LogicalElementInsertionCases.cshtml
MarkupBlockComponent.cshtml
MessageComponent.cshtml
MouseEventComponent.cshtml
MultipleChildContent.cshtml Add Support for Templated Components (#1404) 2018-09-10 18:59:51 -07:00
OrderedList.cshtml Add Support for Templated Components (#1404) 2018-09-10 18:59:51 -07:00
ParentChildComponent.cshtml
PassThroughContentComponent.cshtml
Program.cs
PropertiesChangedHandlerChild.cshtml
PropertiesChangedHandlerParent.cshtml
RazorTemplates.cshtml Add Support for Templated Components (#1404) 2018-09-10 18:59:51 -07:00
RedTextComponent.cshtml
RenderFragmentToggler.cshtml
Startup.cs
SvgCircleComponent.cshtml
SvgComponent.cshtml
SvgWithChildComponent.cshtml
TemplatedTable.cshtml Add Support for Templated Components (#1404) 2018-09-10 18:59:51 -07:00
TextOnlyComponent.cshtml
TouchEventComponent.cshtml