This builds upon existing support for UIEventHandler-typed component properties and applies the same principle to any delegate type. We try to help by generating the LSH of the lambda `=>` allowing you to write `OnClick="Foo()"` rather than `OnClick="(e) => Foo()"`. You can of course use @ as an escape. The only rough edge here is that if the parameter names aren't memorable for the delgate type, it's not super helpful. |
||
|---|---|---|
| .. | ||
| Razor | ||
| ComponentDiscoveryRazorIntegrationTest.cs | ||
| ComponentRenderingRazorIntegrationTest.cs | ||
| DeclarationRazorIntegrationTest.cs | ||
| DesignTimeCodeGenerationRazorIntegrationTest.cs | ||
| DiagnosticRazorIntegrationTest.cs | ||
| DirectiveRazorIntegrationTest.cs | ||
| FilePathRazorIntegrationTest.cs | ||
| IndexHtmlFileProviderTest.cs | ||
| Microsoft.AspNetCore.Blazor.Build.Test.csproj | ||
| RazorIntegrationTestBase.cs | ||
| ReferencedAssemblyFileProviderTest.cs | ||
| RenderingRazorIntegrationTest.cs | ||
| RuntimeCodeGenerationRazorIntegrationTest.cs | ||