aspnetcore icon indicating copy to clipboard operation
aspnetcore copied to clipboard

[Blazor] Add @abstract directive

Open JvanderStad opened this issue 5 years ago • 4 comments

Feature request: Create a new razor component directive to mark the generated class as abstract. @abstract seems like a good candidate.

JvanderStad avatar May 10 '20 10:05 JvanderStad

We've moved this issue to the Backlog milestone. This means that it is not going to happen for the coming release. We will reassess the backlog following the current release and consider this item at that time. However, keep in mind that there are many other high priority features with which it will be competing for resources.

mkArtakMSFT avatar May 11 '20 16:05 mkArtakMSFT

Ran in this today; we've got a GridRenderer.razor which I'd like to be abstract because only the two derived components should be instantiated. Also without @abstract I can't make sure at compile time that all required overrides are in place ...

HaraldMuehlhoffCC avatar Mar 20 '24 06:03 HaraldMuehlhoffCC