-
Notifications
You must be signed in to change notification settings - Fork 383
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
Implementing IConvertible #596
Conversation
...t.WindowsRuntimeComponent/GeneratedCode/Quantities/Acceleration.WindowsRuntimeComponent.g.cs
Outdated
Show resolved
Hide resolved
Ok, this is kinda neat! A bit unsure about converting to numbers like this, but hey, I guess it's the caller's funeral if they convert to number type and expected a different value :-) Is there any good way to communicate what to expect here? I don't see where to put that xmldoc though. Remarks on the class maybe? |
Exactly. I think it implementing IConvertible should be enough really, but we can add a remark. I guess I could add inheritdoc on each of the methods too. |
I can actually see the doc even without inheritdoc. I guess because the LHS is IConvertible when you do so anyways, it gets it from there. |
Ok nice, there's a merge conflict here, but other than that you can just merge it. |
Sounds good. |
No description provided.