FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix coding style for NewModuleManifestCommand by pougetat · Pull Request #9134 · PowerShell/PowerShell · GitHub

Fix coding style for NewModuleManifestCommand - #9134

Merged
Ilya (iSazonov) merged 2 commits into
PowerShell:masterfrom
pougetat:clean-newmodulemanifest
Mar 26, 2019
Merged

Fix coding style for NewModuleManifestCommand#9134
Ilya (iSazonov) merged 2 commits into
PowerShell:masterfrom
pougetat:clean-newmodulemanifest

Conversation

pougetat (pougetat) commented Mar 14, 2019
edited by iSazonov
Loading

Copy link
Copy Markdown

The purpose of this PR is to fix some of the coding style in NewModuleManifestCommand

  • Comments for members
  • 3 member names have been changed so that the use of nameof can be consistent throughout the file : nameof(Modules.CLRVersion) => nameof(CLRVersion). Unfortunately this means not following certain conventions for these 3 member names.

PR Checklist

/// </summary>
[Parameter]
public Guid Guid
public Guid GUID

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Please revert - we should use camel style. Also it is public API (breaking change).

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

done

[AllowNull]
[SuppressMessage("Microsoft.Design", "CA1056:UriPropertiesShouldNotBeStrings")]
public string HelpInfoUri
public string HelpInfoURI

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Please revert - it is public API (breaking change).

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

done

public Guid Guid
public Guid GUID
{
get { return _guid; }

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

pougetat (@pougetat) You could review all such unneeded private fields and remove them. Better in follow PR.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

sounds good

Ilya (iSazonov) added the CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log label Mar 23, 2019
Ilya (iSazonov) added this to the 6.3.0-preview.1 milestone Mar 26, 2019
Ilya (iSazonov) self-assigned this Mar 26, 2019
Ilya (iSazonov) merged commit 0f429f2 into PowerShell:master Mar 26, 2019
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj/PowerShell that referenced this pull request Aug 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL