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

Enum Drawer #3

Open
Novack opened this issue Jun 15, 2018 · 0 comments
Open

Enum Drawer #3

Novack opened this issue Jun 15, 2018 · 0 comments

Comments

@Novack
Copy link

Novack commented Jun 15, 2018

Great work!
You're missing the Enum drawer, I added it myself, by checking the base type.
Changed in the method GetParameterDrawer:

if (typeDrawer.TryGetValue (parameterType, out drawer))
{
return drawer;
}
else if (typeDrawer.TryGetValue(parameterType.BaseType, out drawer)) // HERE
{
return drawer;
}

Then you add the corresponding content to the typeDisplayName and typeDrawer dictionaries.

Thanks for the work!

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

1 participant