❔ Spread like operator in blazor
i have some .razor component accepting class, but i would like to pass individual parameters to it, let's say:
is it possible? to use
...
spread operator?5 Replies
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
collection spreads are coming in c# 12. maybe you could make a feature request?
We'd be pretty unlikely to make an operator like that
C# doesn't have js-like object spreading in this fashion, and adding a meta-feature like this outside C# contexts doesn't really fit well with razor's philosophies
😔
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.