Add constructor overload for SliderOption<T>
that allows specifying legend,data etc
#3100
Labels
v2
For discussions, issues, etc... relavant for v2
Is your feature request related to a problem? Please describe.
Sometimes it is preferable to initialize from the constructor rather than with Object Initializers. For example CodeDOM CodeObjectCreateExpression does not support object initializers.
Currently to construct a
SliderOption<string>
you would have to do:We should also support:
Describe the solution you'd like
Add constructor overload.
Describe alternatives you've considered
Code could declare a local variable for every option but this starts to get onerous.
The text was updated successfully, but these errors were encountered: