Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
angularsen
/
UnitsNet
Public
Notifications
You must be signed in to change notification settings
Fork
416
Star
3k
Code
Issues
11
Pull requests
11
Discussions
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Replace ToUnit(UnitSystem) from the IQuantity<TUnit> interface with an extension method
- #1606
#1606
Merged
angularsen
merged 12 commits into
angularsen:master
angularsen/UnitsNet:master
from
lipchev:unit-system-extensions
lipchev/UnitsNet:unit-system-extensions
Copy head branch name to clipboard
Sep 21, 2025
Conversation
Commits
12
(12)
Checks
Files changed
Merged
Replace ToUnit(UnitSystem) from the IQuantity<TUnit> interface with an extension method
#1606
angularsen
merged 12 commits into
angularsen:master
angularsen/UnitsNet:master
from
lipchev:unit-system-extensions
lipchev/UnitsNet:unit-system-extensions
Copy head branch name to clipboard
Commits
Commits on Aug 9, 2025
- refeactored the As(UnitSystem) and ToUnit(UnitSystem) methods as extensions
Show description for 50994bb
lipchev
committed
50994bb
View commit details
Copy full SHA for 50994bb
Browse repository at this point
Refactor untyped IQuantity.ToUnit(UnitSystem) to extension method
angularsen
committed
79570f5
View commit details
Copy full SHA for 79570f5
Browse repository at this point
Commits on Aug 10, 2025
Rename to ToUnitUntyped()
angularsen
committed
1bbaafc
View commit details
Copy full SHA for 1bbaafc
Browse repository at this point
Update tests after rename to ToUnitUntyped
Show description for 8ab6e68
angularsen
committed
8ab6e68
View commit details
Copy full SHA for 8ab6e68
Browse repository at this point
Merge branch 'master' into unit-system-extensions
angularsen
authored
a9ca1d8
View commit details
Copy full SHA for a9ca1d8
Browse repository at this point
Commits on Aug 16, 2025
Merge branch 'angularsen:master' into unit-system-extensions
lipchev
authored
a6c3337
View commit details
Copy full SHA for a6c3337
Browse repository at this point
- replaced the ToUnit(UnitSystem) overload from the IQuantity<TUnit> interface with an extension method ([Obsolete])
Show description for 9b41886
lipchev
committed
9b41886
View commit details
Copy full SHA for 9b41886
Browse repository at this point
Commits on Aug 18, 2025
Merge branch 'master' into unit-system-extensions
lipchev
authored
e36f77a
View commit details
Copy full SHA for e36f77a
Browse repository at this point
Commits on Aug 19, 2025
Merge branch 'master' into unit-system-extensions
lipchev
authored
163ccc1
View commit details
Copy full SHA for 163ccc1
Browse repository at this point
Commits on Aug 22, 2025
Merge branch 'master' into unit-system-extensions
lipchev
authored
6615f98
View commit details
Copy full SHA for 6615f98
Browse repository at this point
Commits on Aug 23, 2025
Merge branch 'master' into unit-system-extensions
lipchev
authored
6bb44a4
View commit details
Copy full SHA for 6bb44a4
Browse repository at this point
Commits on Sep 21, 2025
Merge branch 'master' into unit-system-extensions
angularsen
authored
0e3d49d
View commit details
Copy full SHA for 0e3d49d
Browse repository at this point
You can’t perform that action at this time.