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
TestFiles
BindRazorIntegrationTest.cs Encourage encapsulation of component parameter properties (#713) 2018-05-01 10:08:01 +01:00
ComponentDiscoveryRazorIntegrationTest.cs
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
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
RazorBaselineIntegrationTestBase.cs
RazorIntegrationTestBase.cs
RenderingRazorIntegrationTest.cs
RuntimeCodeGenerationTest.cs Encourage encapsulation of component parameter properties (#713) 2018-05-01 10:08:01 +01:00
RuntimeDependenciesResolverTest.cs
WorkingDirectoryRazorIntegrationTest.cs