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 Add support for Action event handlers 2018-04-11 07:36:05 -07:00
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 Add support for Action event handlers 2018-04-11 07:36:05 -07:00
AfterRenderInteropComponent.cshtml OnAfterRender / OnAfterRenderAsync (#691) 2018-04-27 19:45:19 +01:00
AsyncEventHandlerComponent.cshtml Rough cut at async events 2018-04-26 13:31:28 -07:00
BasicTestApp.csproj Rough cut at async events 2018-04-26 13:31:28 -07:00
BindCasesComponent.cshtml Add support for Action event handlers 2018-04-11 07:36:05 -07:00
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 Add support for Action event handlers 2018-04-11 07:36:05 -07:00
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 Add support for Action event handlers 2018-04-11 07:36:05 -07:00
KeyPressEventComponent.cshtml Improvements for delegate types (#516) 2018-04-09 13:21:12 -07:00
LogicalElementInsertionCases.cshtml Fix ordering issue with nested logical element insertion 2018-04-27 15:43:59 +01:00
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 Enable same-origin credentials by default. Add E2E test to show they can be sent to different-origin domains too. 2018-04-09 12:54:13 +01:00
PropertiesChangedHandlerChild.cshtml Encourage encapsulation of component parameter properties (#713) 2018-05-01 10:08:01 +01:00
PropertiesChangedHandlerParent.cshtml Add event handlers as tag helpers 2018-04-06 13:00:04 -07:00
RedTextComponent.cshtml
RenderFragmentToggler.cshtml Add event handlers as tag helpers 2018-04-06 13:00:04 -07:00
SvgCircleComponent.cshtml
SvgComponent.cshtml
SvgWithChildComponent.cshtml
TextOnlyComponent.cshtml