aspnetcore/test/Microsoft.AspNetCore.Blazor...
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
..
Razor Add Support for Templated Components (#1404) 2018-09-10 18:59:51 -07:00
TestFiles Add Support for Templated Components (#1404) 2018-09-10 18:59:51 -07:00
BindRazorIntegrationTest.cs
BootJsonWriterTest.cs Make index.html static again (#1123) 2018-07-13 09:49:34 +01:00
ChildContentRazorIntegrationTest.cs Add Support for Templated Components (#1404) 2018-09-10 18:59:51 -07:00
CodeGenerationTestBase.cs Add Support for Templated Components (#1404) 2018-09-10 18:59:51 -07:00
ComponentDiscoveryRazorIntegrationTest.cs
ComponentRenderingRazorIntegrationTest.cs Add Support for Templated Components (#1404) 2018-09-10 18:59:51 -07:00
DeclarationRazorIntegrationTest.cs
DesignTimeCodeGenerationTest.cs Add Support for Templated Components (#1404) 2018-09-10 18:59:51 -07:00
DiagnosticRazorIntegrationTest.cs
DirectiveRazorIntegrationTest.cs
FilePathRazorIntegrationTest.cs
Microsoft.AspNetCore.Blazor.Build.Test.csproj Use $(TargetDir) instead of $(ProjectDir)$(OutputPath) 2018-08-06 16:48:36 -07:00
RazorBaselineIntegrationTestBase.cs
RazorIntegrationTestBase.cs
RenderingRazorIntegrationTest.cs Add Support for Templated Components (#1404) 2018-09-10 18:59:51 -07:00
RuntimeCodeGenerationTest.cs Add Support for Templated Components (#1404) 2018-09-10 18:59:51 -07:00
RuntimeDependenciesResolverTest.cs Initial debugger support 2018-07-06 11:56:21 +01:00
TemplateRazorIntegrationTest.cs Add Support for Templated Components (#1404) 2018-09-10 18:59:51 -07:00
TypingTest.cs Fix #1068 2018-07-05 11:28:54 -07:00
WorkingDirectoryRazorIntegrationTest.cs