Skip to content

BL0007 "Component parameters should be auto property" too broad #45793

@omuleanu

Description

@omuleanu

looking at #26230, seems that having some code in the Parameter get is not a problem at all,
and having code in the Parameter set will be an issue if we trigger rerenders.

So as long as we don't do things like: SomeEvent.InvokeAsync(), ValueChanged.InvokeAsync(value), in the set we can ignore this warning, right ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    ✔️ Resolution: AnsweredResolved because the question asked by the original author has been answered.Status: Resolvedarea-blazorIncludes: Blazor, Razor Componentsdesign-proposalThis issue represents a design proposal for a different issue, linked in the description

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions