aspnetcore/test/testapps/BasicTestApp
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
..
HierarchicalImportsTest
HttpClientTest
Properties
RouterTest Encourage encapsulation of component parameter properties (#713) 2018-05-01 10:08:01 +01:00
wwwroot OnAfterRender / OnAfterRenderAsync (#691) 2018-04-27 19:45:19 +01:00
AddRemoveChildComponents.cshtml
AfterRenderInteropComponent.cshtml OnAfterRender / OnAfterRenderAsync (#691) 2018-04-27 19:45:19 +01:00
AsyncEventHandlerComponent.cshtml
BasicTestApp.csproj
BindCasesComponent.cshtml
ComponentRefComponent.cshtml Support 'ref' syntax for capturing references to elements and components (#685) 2018-04-27 17:41:21 +01:00
CounterComponent.cshtml Support 'ref' syntax for capturing references to elements and components (#685) 2018-04-27 17:41:21 +01:00
CounterComponentUsingChild.cshtml
CounterComponentWrapper.cshtml
ElementRefComponent.cshtml Support 'ref' syntax for capturing references to elements and components (#685) 2018-04-27 17:41:21 +01:00
ExternalContentPackage.cshtml
KeyPressEventComponent.cshtml
LogicalElementInsertionCases.cshtml
MessageComponent.cshtml Encourage encapsulation of component parameter properties (#713) 2018-05-01 10:08:01 +01:00
ParentChildComponent.cshtml
PassThroughContentComponent.cshtml Encourage encapsulation of component parameter properties (#713) 2018-05-01 10:08:01 +01:00
Program.cs
PropertiesChangedHandlerChild.cshtml Encourage encapsulation of component parameter properties (#713) 2018-05-01 10:08:01 +01:00
PropertiesChangedHandlerParent.cshtml
RedTextComponent.cshtml
RenderFragmentToggler.cshtml
SvgCircleComponent.cshtml
SvgComponent.cshtml
SvgWithChildComponent.cshtml
TextOnlyComponent.cshtml