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

Missing ValueList attribute #101

Open
ekkis opened this issue Sep 16, 2013 · 3 comments
Open

Missing ValueList attribute #101

ekkis opened this issue Sep 16, 2013 · 3 comments

Comments

@ekkis
Copy link

ekkis commented Sep 16, 2013

to help me with other issues I posted, I decided to pull in the whole project into my solution. upon compilation I get the error that ValueListAttribute cannot be found. indeed it's not there... I don't see another project I should also add... what next?

@nemec
Copy link
Collaborator

nemec commented Sep 16, 2013

Looks like it's now called ValueAttribute which can specify a specific range of arguments to consume.

@ekkis
Copy link
Author

ekkis commented Sep 16, 2013

I don't think so. looking at its definition I see there's only one constructor requiring an int

@nemec
Copy link
Collaborator

nemec commented Sep 16, 2013

That's so that you can order multiple ValueAttributes. I think the equivalent to the old ValueList would be [Value(0)]. With no min and no max, you can provide between 0 and Inf extra values.

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

No branches or pull requests

2 participants