Skip to content

Component constructor injection #15779

Closed
Closed
@retypeit

Description

@retypeit

I would love it if Blazor would allow constructor injection when composing components with base classes that requires injection of services (to make the DI system more consistent with how it works when composing services).

If this is a feature you would consider I would not mind creating a PR with the functionality to help out

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-blazorIncludes: Blazor, Razor Components

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions