aspnetcore/test/Microsoft.AspNetCore.Blazor...
Steve Sanderson 18b9a70dbe Encourage encapsulation of component parameter properties (#713)
* Before refactoring ParameterCollection assignment logic, add more test coverage

* Begin caching parameter assignment info

* Factor out some reflection code to a reusable location

* Use IPropertySetter to avoid all per-property-assignment reflection

* More error cases and tests for parameter assignment

* Enable binding to nonpublic properties

* Add analyzer to warn and provide fix for public component parameters

* Unit test for analyzer

* Component tag helper now includes private properties if they have [Parameter]

* CR feedback: Remove garbage from csproj

* CR feedback: Rename .Build.Analyzers to .Analyzers

* CR feedback: Move BlazorApi.cs to shared; use it from Analyzers test

* Fix incorrect test name

* Make as many parameters private as possible. Replace ILayoutComponent with BlazorLayoutComponent.

* In component tag helper discovery, consider private members too

* Reduce the work in component parameter discovery by not inspecting the BlazorComponent base class (or System.Object)
2018-05-01 10:08:01 +01:00
..
Razor Support 'ref' syntax for capturing references to elements and components (#685) 2018-04-27 17:41:21 +01:00
TestFiles Support 'ref' syntax for capturing references to elements and components (#685) 2018-04-27 17:41:21 +01:00
BindRazorIntegrationTest.cs Encourage encapsulation of component parameter properties (#713) 2018-05-01 10:08:01 +01:00
ComponentDiscoveryRazorIntegrationTest.cs Rough cut at async events 2018-04-26 13:31:28 -07:00
ComponentRenderingRazorIntegrationTest.cs Encourage encapsulation of component parameter properties (#713) 2018-05-01 10:08:01 +01:00
DeclarationRazorIntegrationTest.cs
DesignTimeCodeGenerationTest.cs Encourage encapsulation of component parameter properties (#713) 2018-05-01 10:08:01 +01:00
DiagnosticRazorIntegrationTest.cs Update link in compiler error message 2018-04-13 17:02:07 +01:00
DirectiveRazorIntegrationTest.cs Encourage encapsulation of component parameter properties (#713) 2018-05-01 10:08:01 +01:00
FilePathRazorIntegrationTest.cs
IndexHtmlWriterTest.cs
Microsoft.AspNetCore.Blazor.Build.Test.csproj Rough cut at async events 2018-04-26 13:31:28 -07:00
RazorBaselineIntegrationTestBase.cs Fix #597 Allow multiple tokens in attributes 2018-04-19 16:14:10 -04:00
RazorIntegrationTestBase.cs Rough cut at async events 2018-04-26 13:31:28 -07:00
RenderingRazorIntegrationTest.cs Rough cut at async events 2018-04-26 13:31:28 -07:00
RuntimeCodeGenerationTest.cs Encourage encapsulation of component parameter properties (#713) 2018-05-01 10:08:01 +01:00
RuntimeDependenciesResolverTest.cs
WorkingDirectoryRazorIntegrationTest.cs Fixup project templates to handle project names with dashes (#692) 2018-04-30 21:27:22 -07:00