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

Could not override SmartEnum.Value #388

Open
claymore147 opened this issue Apr 10, 2023 · 0 comments
Open

Could not override SmartEnum.Value #388

claymore147 opened this issue Apr 10, 2023 · 0 comments

Comments

@claymore147
Copy link

I have downloaded SmartEnum because I wanted enum with double values.

This is not possible as Value property could not be overrided.

Integer value should be hidden within enum in original class and unaccessible when overriden with other data type.

So that my class CrossSection.PointTwoFive.Value will result in "0.25".

image

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