Skip to content

* RangeArgument.cs: A new range argument#11

Open
filipejsbrandao wants to merge 1 commit intoEmilPoulsen:mainfrom
filipejsbrandao:range_value
Open

* RangeArgument.cs: A new range argument#11
filipejsbrandao wants to merge 1 commit intoEmilPoulsen:mainfrom
filipejsbrandao:range_value

Conversation

@filipejsbrandao
Copy link
Contributor

Testing the waters with the a new range argument.

  • AddCubeSliders.cs: A new example file with a range argument

  • DataAccess.cs: Changed to include the new range argument

  • NavMenu.razor: Added the range argument

* AddCubeSliders.cs: A new example file with a range argument

* DataAccess.cs: Changed to include the new range argument

* NavMenu.razor: Added the range argument
@filipejsbrandao
Copy link
Contributor Author

The range argument extends the number of fields of the AbstractArgument class. It works because the type of the new fields is the same. I think that to implement something like a dropdown with options we would need to do some changes to the GetData() method to allow lists or dictionaries of the same type as the defaultValue. Other alternatives are welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant