-
Notifications
You must be signed in to change notification settings - Fork 1.7k
WPF/PresentationCore-Windows : Generate XML files from most recent GA WPF source and update docs with DocsPortingTool #7218
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
Conversation
|
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
| <Parameter Name="source" Type="System.Windows.Freezable" /> | ||
| </Parameters> | ||
| <Docs> | ||
| <param name="source">To be added.</param> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing docs for this param. Can you please add a description? Same request applies for the rest of the APIs in this file.
carlossanlop
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ryalanms I left some comments and suggestions for you to consider. Many summaries need a better description.
| </Parameters> | ||
| <Docs> | ||
| <param name="source">To be added.</param> | ||
| <summary>Implementation of Freezable.CloneCore()</summary> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The description is not helpful for the user. Can you please describe what the API does? Same request applies for the rest of the APIs in this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or use <inheritdoc />.
| <exception cref="T:System.NotSupportedException">A NotSupportedException is thrown if the example object is <see langword="null" /> or is not a valid type | ||
| which can be converted to a PathFigureCollection.</exception> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| <exception cref="T:System.NotSupportedException">A NotSupportedException is thrown if the example object is <see langword="null" /> or is not a valid type | |
| which can be converted to a PathFigureCollection.</exception> | |
| <exception cref="T:System.NotSupportedException"><paramref name="value"/> is <see langword="null" /> or is not a valid type which can be converted to a <see cref="T:System.Windows.Media.PathFigureCollection" />.</exception> |
| <exception cref="T:System.NotSupportedException">A NotSupportedException is thrown if "value" is <see langword="null" /> or not an instance of PathFigureCollection, | ||
| or if the destinationType isn't one of the valid destination types.</exception> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| <exception cref="T:System.NotSupportedException">A NotSupportedException is thrown if "value" is <see langword="null" /> or not an instance of PathFigureCollection, | |
| or if the destinationType isn't one of the valid destination types.</exception> | |
| <exception cref="T:System.NotSupportedException"><paramref name="value"/> is <see langword="null" /> or not an instance of <see cref="T:System.Windows.Media.PathFigureCollection" />. | |
| -or- | |
| <paramref name="destinationType"/> is not one of the valid destination types.</exception> |
| <summary>Implementation of <see cref="M:System.Windows.Freezable.CreateInstanceCore">Freezable.CreateInstanceCore</see>.</summary> | ||
| <returns>The new Freezable.</returns> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please improve these descriptions? Same request applies for the other API modified in this file.
| </Parameters> | ||
| <Docs> | ||
| <param name="source">To be added.</param> | ||
| <summary>Implementation of Freezable.CloneCore()</summary> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same. Can you please improve this and the rest of the summaries of the modified APIs? Also add the missing param description for all of them.
| <exception cref="T:System.NotSupportedException">A NotSupportedException is thrown if the example object is <see langword="null" /> or is not a valid type | ||
| which can be converted to a VectorCollection.</exception> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| <exception cref="T:System.NotSupportedException">A NotSupportedException is thrown if the example object is <see langword="null" /> or is not a valid type | |
| which can be converted to a VectorCollection.</exception> | |
| <exception cref="T:System.NotSupportedException"><paramref name="value"/> is <see langword="null" /> or is not a valid type which can be converted to a <see cref="T:System.Windows.Media.VectorCollection" />.</exception> |
| <exception cref="T:System.NotSupportedException">A NotSupportedException is thrown if "value" is <see langword="null" /> or not an instance of VectorCollection, | ||
| or if the destinationType isn't one of the valid destination types.</exception> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| <exception cref="T:System.NotSupportedException">A NotSupportedException is thrown if "value" is <see langword="null" /> or not an instance of VectorCollection, | |
| or if the destinationType isn't one of the valid destination types.</exception> | |
| <exception cref="T:System.NotSupportedException"><paramref name="value"/> is <see langword="null" /> or not an instance of <see cref="T:System.Windows.Media.VectorCollection" />. | |
| -or- | |
| <paramref name="destinationTypes"/> is not one of the valid destination types.</exception> | |
| <exception cref="T:System.ArgumentNullException">If ancestor is <see langword="null" />.</exception> | ||
| <exception cref="T:System.ArgumentException">If the ancestor Visual3D is not a ancestor of Visual.</exception> | ||
| <exception cref="T:System.InvalidOperationException">If the Visuals are not connected.</exception> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| <exception cref="T:System.ArgumentNullException">If ancestor is <see langword="null" />.</exception> | |
| <exception cref="T:System.ArgumentException">If the ancestor Visual3D is not a ancestor of Visual.</exception> | |
| <exception cref="T:System.InvalidOperationException">If the Visuals are not connected.</exception> | |
| <exception cref="T:System.ArgumentNullException"><paramref name="ancestor"/> is <see langword="null" />.</exception> | |
| <exception cref="T:System.ArgumentException">The <paramref name="ancestor"/> Visual3D is not a ancestor of Visual.</exception> | |
| <exception cref="T:System.InvalidOperationException">The Visuals are not connected.</exception> | |
| <exception cref="T:System.ArgumentNullException">An ArgumentNullException is thrown if the example object is <see langword="null" />.</exception> | ||
| <exception cref="T:System.ArgumentException">An ArgumentException is thrown if the example object is not <see langword="null" /> and is not a valid type | ||
| which can be converted to a CultureInfo.</exception> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The description of the ArgumentException was describing the opposite behavior.
| <exception cref="T:System.ArgumentNullException">An ArgumentNullException is thrown if the example object is <see langword="null" />.</exception> | |
| <exception cref="T:System.ArgumentException">An ArgumentException is thrown if the example object is not <see langword="null" /> and is not a valid type | |
| which can be converted to a CultureInfo.</exception> | |
| <exception cref="T:System.ArgumentNullException"><paramref name="value"/> is <see langword="null" />.</exception> | |
| <exception cref="T:System.ArgumentException"><paramref name="value"/> is <see langword="null" /> or is not a valid type which can be converted to a <see cref="T:System.Globalization.CultureInfo" />.</exception> |
| <exception cref="T:System.ArgumentNullException">An ArgumentNullException is thrown if the example object is <see langword="null" />.</exception> | ||
| <exception cref="T:System.ArgumentException">An ArgumentException is thrown if the example object is not <see langword="null" /> and is not a CultureInfo, | ||
| or if the destinationType isn't one of the valid destination types.</exception> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| <exception cref="T:System.ArgumentNullException">An ArgumentNullException is thrown if the example object is <see langword="null" />.</exception> | |
| <exception cref="T:System.ArgumentException">An ArgumentException is thrown if the example object is not <see langword="null" /> and is not a CultureInfo, | |
| or if the destinationType isn't one of the valid destination types.</exception> | |
| <exception cref="T:System.ArgumentNullException"><paramref name="value"/> is <see langword="null" />.</exception> | |
| <exception cref="T:System.ArgumentException"><paramref name="value"/> is <see langword="null" /> or is not a <see cref="T:System.Globalization.CultureInfo" />. | |
| -or- | |
| <paramref name="destinationType"/> is not one of the valid destination types.</exception> |
|
closing as abandoned |
WPF/PresentationCore-Windows : Generate XML files from most recent GA WPF source and update docs with DocsPortingTool
The RC1 source for these assemblies has 'triple-slash' comments not in the documentation:
PresentationBuildTasks
PresentationCore-AutomationPeers (AutomationPeers, Ink, and Input)
PresentationCore-Interop (Interop, Markup, Media Animation, and Media Effects)
PresentationCore-Media (Imaging and Media3D)
PresentationCore-MediaOther1
PresentationCore-MediaOther2
PresentationCore-Windows (System.Windows)
ReachFramework
System.Windows.Controls.Ribbon
System.Windows.Presentation
UIAutomationClient
UIAutomationTypes
WindowsBase
There is one documentation update PR per assembly, except PresentationCore, which was spit into 6 areas.
(Hide whitespace changes when reviewing files.)
/cc @dotnet/wpf-developers @carlossanlop