Skip to content

Commit

Permalink
Shorten long lines fourth 100 (#12078)
Browse files Browse the repository at this point in the history
* Shroten more lines

* Update src/System.Drawing.Common/src/System/Drawing/ImageConverter.cs

Co-authored-by: Loni Tra <[email protected]>

* Update src/System.Private.Windows.Core/src/Windows/Win32/System/Com/CY.cs

Co-authored-by: Loni Tra <[email protected]>

* Update src/System.Private.Windows.Core/src/Windows/Win32/System/Variant/VARIANT.cs

Co-authored-by: Loni Tra <[email protected]>

* Resoond to PR feedback

* Missed on \</see>..

* Fix a few more "see" issues

* Clean up another 100 long lines

* Next Batch of long lines

* Fix a few spelling issues

* Next batch of line shorting

* Update src/System.Windows.Forms.Design/src/System/ComponentModel/Design/DesignerActionService.cs

Co-authored-by: Epica3055 <[email protected]>

* Update src/System.Windows.Forms.Design/src/System/ComponentModel/Design/Serialization/CollectionCodeDomSerializer.cs

Co-authored-by: Epica3055 <[email protected]>

* Update src/System.Windows.Forms.Design/src/System/ComponentModel/Design/Serialization/CollectionCodeDomSerializer.cs

Co-authored-by: Epica3055 <[email protected]>

* PR feedback

* Repoond to PR Feedback

* PR feedback

* More feedback

* Undo Typo

* Undo changing microsft to Microsoft.com

* Address PR Feedback

* Pr feedback

---------

Co-authored-by: Loni Tra <[email protected]>
Co-authored-by: Epica3055 <[email protected]>
  • Loading branch information
3 people authored Sep 11, 2024
1 parent eae09f9 commit c44316a
Show file tree
Hide file tree
Showing 86 changed files with 655 additions and 401 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ internal partial class PInvoke
/// </para>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/shellapi/nf-shellapi-shgetstockiconinfo#parameters">
/// Read more on learn.Microsoft.com.
/// Read more on learn.microsoft.com.
/// </see>
/// </para>
/// </param>
Expand All @@ -30,7 +30,7 @@ internal partial class PInvoke
/// </para>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/shellapi/nf-shellapi-shgetstockiconinfo#parameters">
/// Read more on learn.Microsoft.com.
/// Read more on learn.microsoft.com.
/// </see>
/// </para>
/// </param>
Expand All @@ -44,7 +44,7 @@ internal partial class PInvoke
/// </para>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/shellapi/nf-shellapi-shgetstockiconinfo#parameters">
/// Read more on learn.Microsoft.com.
/// Read more on learn.microsoft.com.
/// </see>
/// </para>
/// </param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Windows.Win32.UI.Controls.Dialogs;
/// <remarks>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/commdlg/ns-commdlg-devnames">
/// Learn more about this API from learn.Microsoft.com.
/// Learn more about this API from learn.microsoft.com.
/// </see>
/// </para>
/// </remarks>
Expand All @@ -33,7 +33,7 @@ internal partial struct DEVNAMES
/// </para>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/commdlg/ns-commdlg-devnames#members">
/// Read more on learn.Microsoft.com.
/// Read more on learn.microsoft.com.
/// </see>
/// </para>
/// </summary>
Expand All @@ -46,7 +46,7 @@ internal partial struct DEVNAMES
/// </para>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/commdlg/ns-commdlg-devnames#members">
/// Read more on learn.Microsoft.com.
/// Read more on learn.microsoft.com.
/// </see>
/// </para>
/// </summary>
Expand All @@ -59,7 +59,7 @@ internal partial struct DEVNAMES
/// </para>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/commdlg/ns-commdlg-devnames#members">
/// Read more on learn.Microsoft.com.
/// Read more on learn.microsoft.com.
/// </see>
/// </para>
/// </summary>
Expand All @@ -78,7 +78,7 @@ internal partial struct DEVNAMES
/// </para>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/commdlg/ns-commdlg-devnames#members">
/// Read more on learn.Microsoft.com
/// Read more on learn.microsoft.com
/// </see>
/// </para>
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Windows.Win32.UI.Controls.Dialogs;
/// <remarks>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/commdlg/ns-commdlg-printdlgexw#">
/// Read more on learn.Microsoft.com.
/// Read more on learn.microsoft.com.
/// </see>
/// </para>
/// </remarks>
Expand All @@ -32,7 +32,7 @@ internal partial struct PRINTDLGEXW
/// <para>Type: <b>DWORD</b> The structure size, in bytes.</para>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/commdlg/ns-commdlg-printdlgexw#members">
/// Read more on learn.Microsoft.com.
/// Read more on learn.microsoft.com.
/// </see>
/// </para>
/// </summary>
Expand All @@ -45,7 +45,7 @@ internal partial struct PRINTDLGEXW
/// </para>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/commdlg/ns-commdlg-printdlgexw#members">
/// Read more on learn.Microsoft.com.
/// Read more on learn.microsoft.com.
/// </see>
/// </para>
/// </summary>
Expand All @@ -70,7 +70,7 @@ internal partial struct PRINTDLGEXW
/// </para>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/commdlg/ns-commdlg-printdlgexw#members">
/// Read more on learn.Microsoft.com.
/// Read more on learn.microsoft.com.
/// </see>
/// </para>
/// </summary>
Expand All @@ -96,7 +96,7 @@ internal partial struct PRINTDLGEXW
/// </para>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/commdlg/ns-commdlg-printdlgexw#members">
/// Read more on learn.Microsoft.com.
/// Read more on learn.microsoft.com.
/// </see>
/// </para>
/// </summary>
Expand All @@ -110,7 +110,7 @@ internal partial struct PRINTDLGEXW
/// </para>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/commdlg/ns-commdlg-printdlgexw#members">
/// Read more on learn.Microsoft.com.
/// Read more on learn.microsoft.com.
/// </see>
/// </para>
/// </summary>
Expand All @@ -132,7 +132,7 @@ internal partial struct PRINTDLGEXW
/// </para>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/commdlg/ns-commdlg-printdlgexw#members">
/// Read more on learn.Microsoft.com.
/// Read more on learn.microsoft.com.
/// </see>
/// </para>
/// </summary>
Expand All @@ -148,7 +148,7 @@ internal partial struct PRINTDLGEXW
/// </para>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/commdlg/ns-commdlg-printdlgexw#members">
/// Read more on learn.Microsoft.com.
/// Read more on learn.microsoft.com.
/// </see>
/// </para>
/// </summary>
Expand All @@ -163,7 +163,7 @@ internal partial struct PRINTDLGEXW
/// </para>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/commdlg/ns-commdlg-printdlgexw#members">
/// Read more on learn.Microsoft.com.
/// Read more on learn.microsoft.com.
/// </see>
/// </para>
/// </summary>
Expand All @@ -181,7 +181,7 @@ internal partial struct PRINTDLGEXW
/// </para>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/commdlg/ns-commdlg-printdlgexw#members">
/// Read more on learn.Microsoft.com.
/// Read more on learn.microsoft.com.
/// </see>
/// </para>
/// </summary>
Expand All @@ -194,7 +194,7 @@ internal partial struct PRINTDLGEXW
/// </para>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/commdlg/ns-commdlg-printdlgexw#members">
/// Read more on learn.Microsoft.com.
/// Read more on learn.microsoft.com.
/// </see>
/// </para>
/// </summary>
Expand All @@ -207,7 +207,7 @@ internal partial struct PRINTDLGEXW
/// </para>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/commdlg/ns-commdlg-printdlgexw#members">
/// Read more on learn.Microsoft.com.
/// Read more on learn.microsoft.com.
/// </see>
/// </para>
/// </summary>
Expand All @@ -230,7 +230,7 @@ internal partial struct PRINTDLGEXW
/// </para>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/commdlg/ns-commdlg-printdlgexw#members">
/// Read more on learn.Microsoft.com.
/// Read more on learn.microsoft.com.
/// </see>
/// </para>
/// </summary>
Expand All @@ -247,7 +247,7 @@ internal partial struct PRINTDLGEXW
/// </para>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/commdlg/ns-commdlg-printdlgexw#members">
/// Read more on learn.Microsoft.com.
/// Read more on learn.microsoft.com.
/// </see>
/// </para>
/// </summary>
Expand All @@ -263,7 +263,7 @@ internal partial struct PRINTDLGEXW
/// </para>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/commdlg/ns-commdlg-printdlgexw#members">
/// Read more on learn.Microsoft.com.
/// Read more on learn.microsoft.com.
/// </see>
/// </para>
/// </summary>
Expand All @@ -288,7 +288,7 @@ internal partial struct PRINTDLGEXW
/// </para>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/commdlg/ns-commdlg-printdlgexw#members">
/// Read more on learn.Microsoft.com.
/// Read more on learn.microsoft.com.
/// </see>
/// </para>
/// </summary>
Expand All @@ -298,7 +298,7 @@ internal partial struct PRINTDLGEXW
/// <para>Type: <b>DWORD</b> The number of property page handles in the <b>lphPropertyPages</b> array.</para>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/commdlg/ns-commdlg-printdlgexw#members">
/// Read more on learn.Microsoft.com.
/// Read more on learn.microsoft.com.
/// </see>
/// </para>
/// </summary>
Expand All @@ -316,7 +316,7 @@ internal partial struct PRINTDLGEXW
/// </para>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/commdlg/ns-commdlg-printdlgexw#members">
/// Read more on learn.Microsoft.com.
/// Read more on learn.microsoft.com.
/// </see>
/// </para>
/// </summary>
Expand All @@ -331,7 +331,7 @@ internal partial struct PRINTDLGEXW
/// </para>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/commdlg/ns-commdlg-printdlgexw#members">
/// Read more on learn.Microsoft.com.
/// Read more on learn.microsoft.com.
/// </see>
/// </para>
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Windows.Win32.UI.Controls.Dialogs;
/// <remarks>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/commdlg/ns-commdlg-printpagerange">
/// Learn more about this API from learn.Microsoft.com.
/// Learn more about this API from learn.microsoft.com.
/// </see>
/// </para>
/// </remarks>
Expand All @@ -30,7 +30,7 @@ internal partial struct PRINTPAGERANGE
/// <para>Type: <b>DWORD</b> The first page of the range.</para>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/commdlg/ns-commdlg-printpagerange#members">
/// Read more on learn.Microsoft.com.
/// Read more on learn.microsoft.com.
/// </see>
/// </para>
/// </summary>
Expand All @@ -40,7 +40,7 @@ internal partial struct PRINTPAGERANGE
/// <para>Type: <b>DWORD</b> The last page of the range.</para>
/// <para>
/// <see href="https://learn.microsoft.com/windows/win32/api/commdlg/ns-commdlg-printpagerange#members">
/// Read more on learn.Microsoft.com.
/// Read more on learn.microsoft.com.
/// </see>
/// </para>
/// </summary>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
namespace System.ComponentModel.Design;

/// <summary>
/// This event is raised by the <see cref="DesignerActionService"/> when a shortcut is either added or removed to/from the related object.
/// This event is raised by the <see cref="DesignerActionService"/> when a shortcut is either added or removed
/// to/from the related object.
/// </summary>
public delegate void DesignerActionListsChangedEventHandler(object sender, DesignerActionListsChangedEventArgs e);
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
namespace System.ComponentModel.Design;

/// <summary>
/// This EventArgs class is used by the DesignerActionService to signify that there has been a change in DesignerActionLists (added or removed) on the related object.
/// This EventArgs class is used by the DesignerActionService to signify that there has been a change in
/// DesignerActionLists (added or removed) on the related object.
/// </summary>
public class DesignerActionUIStateChangeEventArgs : EventArgs
{
/// <summary>
/// Constructor that requires the object in question, the type of change and the remaining actionlists left for the object on the related object.
/// Constructor that requires the object in question,
/// the type of change and the remaining ActionLists left for the object on the related object.
/// </summary>
public DesignerActionUIStateChangeEventArgs(object? relatedObject, DesignerActionUIStateChangeType changeType)
{
Expand Down
Loading

0 comments on commit c44316a

Please sign in to comment.