Daeer-Projects / Converter.Temperature

The temperature convertions methods created as extension methods.
MIT License
3 stars 0 forks source link

The `To` extension methods are getting too big #60

Closed Daeer-Projects closed 1 year ago

Daeer-Projects commented 1 year ago

The extension methods for the To() are getting too long.

As I add more temperature types, the classes are getting too long.

They are now over 600 lines.

Proposal As with the converter classes, we need to add temperature folders to the base "To" folder. From there, we can add the individual double, float, etc extension classes.

This will keep the extension classes small and manageable.

Issue The problem with making this change, is the using statements will need to be updated by the consumers of this package.

Daeer-Projects commented 1 year ago

I must update the release notes for the using changes.

Daeer-Projects commented 1 year ago

Working on this as I do the Rømer temperature feature.

So, it will be included in the next release.

Daeer-Projects commented 1 year ago

Work has been done, but in another PR.

61

Daeer-Projects commented 1 year ago

Move this change out of the Romer branch.