Replies: 4 comments 3 replies
-
I don't understand what you're actually asking for. Could you clarify it, ideally by adding an example and explaining why it would be useful? |
Beta Was this translation helpful? Give feedback.
-
API suggestions should be posted to the runtime repository. |
Beta Was this translation helpful? Give feedback.
-
This is effectively a subset of extension everything, which to my knowledge is subsumed by dotnet/csharplang#1711 |
Beta Was this translation helpful? Give feedback.
-
The JS object model is way different from .NET (and most strongly/statically typed systems). It's not able to store arbitrary properties in an object. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Sometimes it would be useful to have an extension property, such as adding a property to List that gets/sets an array of the same type.
For example, Blazor
<InputSelect>
now supports themultiple
attribute and binds to an array. I prefer working with lists, so it would be nice if I could continue to use lists but have anasArray
property that can be used to get or set the list.Beta Was this translation helpful? Give feedback.
All reactions