esemény
nov. 19. 23 - nov. 21. 23
Csatlakozzon online munkamenetekhez a Microsoft Ignite-ben, amelyet azért hoztak létre, hogy bővítse készségeit, és segítsen megoldani a mai összetett problémákat.
RegisztrációEzt a böngészőt már nem támogatjuk.
Frissítsen a Microsoft Edge-re, hogy kihasználhassa a legújabb funkciókat, a biztonsági frissítéseket és a technikai támogatást.
Value | |
---|---|
Rule ID | BL0005 |
Category | Usage |
Fix is breaking or non-breaking | Non-breaking |
A property on a type deriving from ComponentBase annotated with [Parameter]
is being assigned to from outside the component.
Component parameters should be assigned to as part of the component initialization or as part of SetParametersAsync
. Assigning a value to a parameter from an external source results in the value being overwritten the next time the component renders.
Consider using a distinct property to receive values from other components. Additional code can then be written to decide which of the two values to use in the component.
Do not suppress a warning from this rule.
ASP.NET Core-visszajelzés
A(z) ASP.NET Core egy nyílt forráskód projekt. Visszajelzés adásához válasszon egy hivatkozást:
esemény
nov. 19. 23 - nov. 21. 23
Csatlakozzon online munkamenetekhez a Microsoft Ignite-ben, amelyet azért hoztak létre, hogy bővítse készségeit, és segítsen megoldani a mai összetett problémákat.
Regisztráció