From c9d0a5951fad05ce10967f71acc06647fcbd999b Mon Sep 17 00:00:00 2001 From: alerickson <25858831+alerickson@users.noreply.github.com> Date: Wed, 20 Dec 2023 14:52:16 -0800 Subject: [PATCH] Update namespaces --- src/code/FindPSResource.cs | 3 +-- src/code/GetInstalledPSResource.cs | 3 +-- src/code/GetPSResourceRepository.cs | 2 +- src/code/GetPSScriptFileInfo.cs | 2 +- src/code/InstallPSResource.cs | 3 +-- src/code/LocalResponseUtil.cs | 2 +- src/code/LocalServerApiCalls.cs | 2 +- src/code/NewPSScriptFile.cs | 2 +- src/code/PSScriptHelp.cs | 2 +- 9 files changed, 9 insertions(+), 12 deletions(-) diff --git a/src/code/FindPSResource.cs b/src/code/FindPSResource.cs index db734fe87..d2a78b1a6 100644 --- a/src/code/FindPSResource.cs +++ b/src/code/FindPSResource.cs @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Microsoft.PowerShell.PSResourceGet.Cmdlets; using Microsoft.PowerShell.PSResourceGet.UtilClasses; using NuGet.Versioning; using System; @@ -9,7 +8,7 @@ using System.Net; using System.Threading; -namespace Microsoft.PowerShell.PSResourceGet +namespace Microsoft.PowerShell.PSResourceGet.Cmdlets { /// /// The Find-PSResource cmdlet combines the Find-Module, Find-Script, Find-DscResource, Find-Command cmdlets from V2. diff --git a/src/code/GetInstalledPSResource.cs b/src/code/GetInstalledPSResource.cs index 1ec37f9a9..dafd36400 100644 --- a/src/code/GetInstalledPSResource.cs +++ b/src/code/GetInstalledPSResource.cs @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Microsoft.PowerShell.PSResourceGet.Cmdlets; using Microsoft.PowerShell.PSResourceGet.UtilClasses; using NuGet.Versioning; using System; @@ -9,7 +8,7 @@ using System.Linq; using System.Management.Automation; -namespace Microsoft.PowerShell.PSResourceGet +namespace Microsoft.PowerShell.PSResourceGet.Cmdlets { /// /// It retrieves a resource that was installed with Install-PSResource diff --git a/src/code/GetPSResourceRepository.cs b/src/code/GetPSResourceRepository.cs index a0b9ec3d2..d1ad451ce 100644 --- a/src/code/GetPSResourceRepository.cs +++ b/src/code/GetPSResourceRepository.cs @@ -7,7 +7,7 @@ using System.Linq; using System.Management.Automation; -namespace Microsoft.PowerShell.PSResourceGet +namespace Microsoft.PowerShell.PSResourceGet.Cmdlets { /// /// The Get-PSResourceRepository cmdlet replaces the Get-PSRepository cmdlet from V2. diff --git a/src/code/GetPSScriptFileInfo.cs b/src/code/GetPSScriptFileInfo.cs index 0173d9f28..1a0bd44e7 100644 --- a/src/code/GetPSScriptFileInfo.cs +++ b/src/code/GetPSScriptFileInfo.cs @@ -4,7 +4,7 @@ using System; using System.Management.Automation; -namespace Microsoft.PowerShell.PSResourceGet +namespace Microsoft.PowerShell.PSResourceGet.Cmdlets { /// /// Retrieve the contents of a .ps1 file diff --git a/src/code/InstallPSResource.cs b/src/code/InstallPSResource.cs index 8b9e8e677..a65797268 100644 --- a/src/code/InstallPSResource.cs +++ b/src/code/InstallPSResource.cs @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Microsoft.PowerShell.PSResourceGet.Cmdlets; using Microsoft.PowerShell.PSResourceGet.UtilClasses; using NuGet.Versioning; using System; @@ -12,7 +11,7 @@ using System.Management.Automation; using System.Net; -namespace Microsoft.PowerShell.PSResourceGet +namespace Microsoft.PowerShell.PSResourceGet.Cmdlets { /// /// The Install-PSResource cmdlet installs a resource. diff --git a/src/code/LocalResponseUtil.cs b/src/code/LocalResponseUtil.cs index f53889d80..f82c6db81 100644 --- a/src/code/LocalResponseUtil.cs +++ b/src/code/LocalResponseUtil.cs @@ -6,7 +6,7 @@ using System.Collections; using System.Collections.Generic; -namespace Microsoft.PowerShell.PSResourceGet +namespace Microsoft.PowerShell.PSResourceGet.Cmdlets { internal class LocalResponseUtil : ResponseUtil { diff --git a/src/code/LocalServerApiCalls.cs b/src/code/LocalServerApiCalls.cs index 5932be6b7..22ddbb319 100644 --- a/src/code/LocalServerApiCalls.cs +++ b/src/code/LocalServerApiCalls.cs @@ -15,7 +15,7 @@ using System.Runtime.ExceptionServices; using Microsoft.PowerShell.PSResourceGet.Cmdlets; -namespace Microsoft.PowerShell.PSResourceGet +namespace Microsoft.PowerShell.PSResourceGet.Cmdlets { internal class LocalServerAPICalls : ServerApiCall { diff --git a/src/code/NewPSScriptFile.cs b/src/code/NewPSScriptFile.cs index 9cdacb5f5..00097dfd8 100644 --- a/src/code/NewPSScriptFile.cs +++ b/src/code/NewPSScriptFile.cs @@ -8,7 +8,7 @@ using Microsoft.PowerShell.Commands; using Microsoft.PowerShell.PSResourceGet.UtilClasses; -namespace Microsoft.PowerShell.PSResourceGet +namespace Microsoft.PowerShell.PSResourceGet.Cmdlets { /// /// Creates a new .ps1 file with script information required for publishing a script. diff --git a/src/code/PSScriptHelp.cs b/src/code/PSScriptHelp.cs index e0396c180..7bbf2f70e 100644 --- a/src/code/PSScriptHelp.cs +++ b/src/code/PSScriptHelp.cs @@ -6,7 +6,7 @@ using System.Collections.Generic; using System.Management.Automation; -namespace Microsoft.PowerShell.PSResourceGet +namespace Microsoft.PowerShell.PSResourceGet.UtilClasses { /// /// This class contains information for a PSScriptFileInfo (representing a .ps1 file contents).