Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

* RangeArgument.cs: A new range argument #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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.

None yet

1 participant