Skip to content

Use T4 templates to generate unit code #10

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

Closed
angularsen opened this issue Nov 13, 2013 · 3 comments
Closed

Use T4 templates to generate unit code #10

angularsen opened this issue Nov 13, 2013 · 3 comments

Comments

@angularsen
Copy link
Owner

This has been on my wishlist for some time. Started a T4 branch today and got a lot of good stuff done.

It's quite a big task and refactoring, but it will greatly simplify adding and managing the units and constants. I've currently got Force, Length and Mass working, the rest should come soon. I expect to be ready to merge into master this week.

@angularsen
Copy link
Owner Author

@angularsen
Copy link
Owner Author

@angularsen
Copy link
Owner Author

UnitConverter is now also generated by T4.
The only remaining now is to generate big parts of the test code, creating a separate issue for that.

angularsen added a commit to josesimoes/UnitsNet that referenced this issue May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant