aspnetcore icon indicating copy to clipboard operation
aspnetcore copied to clipboard

Component constructor injection

Open retypeit opened this issue 8 years ago • 2 comments

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

retypeit avatar Jul 19 '18 21:07 retypeit

aspnet/Blazor#563

dlr1 avatar Jul 20 '18 17:07 dlr1

I think this also duplicates aspnet/AspNetCore#5497, so I'll close in favour of that one.

SteveSandersonMS avatar Jul 23 '18 19:07 SteveSandersonMS