-
Notifications
You must be signed in to change notification settings - Fork 387
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
New Units - 'Base pair' for quantity 'Length' #1400
Comments
Although I feel this is a bit too domain specific for the purpose of UnitsNet, I'm OK with adding it.
|
By the way, with the upcoming C# 13 release there is a very useful addition: https://devblogs.microsoft.com/dotnet/dotnet-build-2024-announcements/#extension-types This would allow us to |
Super interesting @lipchev , first time I'm seeing this.
This can be done today with extension methods instead of extension properties:
Similarly, if we accepted extension method syntax, we could achieve this today. Right? |
Today the user can add I just hope that binding works out of the box, that would really be something (but I doubt it). |
Bindings will probably not work, since the members are not part of the object you bind to. |
Bad news- the feature is being postponed: Extension Types Are No Longer Coming in C# 13 |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was automatically closed due to inactivity. |
Is your feature request related to a problem? Please describe.
Within existing quantity Length there is no units often used for "base pair (bp)"
Describe the solution you'd like
Base pairs (bp) is a unit of measurement for the length of nucleic acid sequences.
Will be nice to extend the quantity Length (if it's the proper one) to include base pairs (bp) such as shown in Wikipedia article, section Length measurements,
Describe alternatives you've considered
None. Using other length units for 'Base pairs' is not common.
The text was updated successfully, but these errors were encountered: