* 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 |
||
|---|---|---|
| .. | ||
| Razor | ||
| TestFiles | ||
| BindRazorIntegrationTest.cs | ||
| BootJsonWriterTest.cs | ||
| ChildContentRazorIntegrationTest.cs | ||
| CodeGenerationTestBase.cs | ||
| ComponentDiscoveryRazorIntegrationTest.cs | ||
| ComponentRenderingRazorIntegrationTest.cs | ||
| DeclarationRazorIntegrationTest.cs | ||
| DesignTimeCodeGenerationTest.cs | ||
| DiagnosticRazorIntegrationTest.cs | ||
| DirectiveRazorIntegrationTest.cs | ||
| FilePathRazorIntegrationTest.cs | ||
| Microsoft.AspNetCore.Blazor.Build.Test.csproj | ||
| RazorBaselineIntegrationTestBase.cs | ||
| RazorIntegrationTestBase.cs | ||
| RenderingRazorIntegrationTest.cs | ||
| RuntimeCodeGenerationTest.cs | ||
| RuntimeDependenciesResolverTest.cs | ||
| TemplateRazorIntegrationTest.cs | ||
| TypingTest.cs | ||
| WorkingDirectoryRazorIntegrationTest.cs | ||