Skip to content

Commit 1093965

Browse files
authored
Add OutputType attributes to Get-PSResource and Get-PSResourceRepository (#706)
1 parent 86482d2 commit 1093965

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/code/GetPSResource.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ namespace Microsoft.PowerShell.PowerShellGet.Cmdlets
1414
/// Returns a single resource or multiple resource.
1515
/// </summary>
1616
[Cmdlet(VerbsCommon.Get, "PSResource")]
17+
[OutputType(typeof(PSResourceInfo))]
1718
public sealed class GetPSResource : PSCmdlet
1819
{
1920
#region Members

src/code/GetPSResourceRepository.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ namespace Microsoft.PowerShell.PowerShellGet.Cmdlets
1616
/// It returns PSRepositoryInfo objects which describe each resource item found.
1717
/// </summary>
1818
[Cmdlet(VerbsCommon.Get, "PSResourceRepository")]
19+
[OutputType(typeof(PSRepositoryInfo))]
1920
public sealed class GetPSResourceRepository : PSCmdlet
2021
{
2122
#region Parameters

0 commit comments

Comments
 (0)