BL0006: Do not use RenderTree types
Value | |
---|---|
Rule ID | BL0006 |
Category | Usage |
Fix is breaking or non-breaking | Non-breaking |
Cause
A reference to a type in the Microsoft.AspNetCore.Components.RenderTree was found.
Rule description
Types in the Microsoft.AspNetCore.Components.RenderTree
namespace are part of Blazor's implementation detail and are subject to breaking changes. Using these types is not recommended in user code.
How to fix violations
Remove the reference to the type.
When to suppress warnings
It is safe to suppress this rule if using this type is essential. Note that this these are subject to breaking changes between major releases.
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru