mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Add output types to Format commands (#18746)
This commit is contained in:
+2
-1
@@ -8,9 +8,10 @@ using Microsoft.PowerShell.Commands.Internal.Format;
|
||||
namespace Microsoft.PowerShell.Commands
|
||||
{
|
||||
/// <summary>
|
||||
/// Implementation for the format-table command.
|
||||
/// Implementation for the Format-List command.
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsCommon.Format, "List", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2096928")]
|
||||
[OutputType(typeof(FormatStartData), typeof(FormatEntryData), typeof(FormatEndData), typeof(GroupStartData), typeof(GroupEndData))]
|
||||
public class FormatListCommand : OuterFormatTableAndListBase
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
+2
-1
@@ -8,9 +8,10 @@ using Microsoft.PowerShell.Commands.Internal.Format;
|
||||
namespace Microsoft.PowerShell.Commands
|
||||
{
|
||||
/// <summary>
|
||||
/// Implementation for the format-custom command. It just calls the formatting engine on complex shape.
|
||||
/// Implementation for the Format-Custom command. It just calls the formatting engine on complex shape.
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsCommon.Format, "Custom", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2096929")]
|
||||
[OutputType(typeof(FormatStartData), typeof(FormatEntryData), typeof(FormatEndData), typeof(GroupStartData), typeof(GroupEndData))]
|
||||
public class FormatCustomCommand : OuterFormatShapeCommandBase
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
+2
-1
@@ -8,9 +8,10 @@ using Microsoft.PowerShell.Commands.Internal.Format;
|
||||
namespace Microsoft.PowerShell.Commands
|
||||
{
|
||||
/// <summary>
|
||||
/// Implementation for the format-table command.
|
||||
/// Implementation for the Format-Table command.
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsCommon.Format, "Table", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2096703")]
|
||||
[OutputType(typeof(FormatStartData), typeof(FormatEntryData), typeof(FormatEndData), typeof(GroupStartData), typeof(GroupEndData))]
|
||||
public class FormatTableCommand : OuterFormatTableBase
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
+2
-1
@@ -10,9 +10,10 @@ using Microsoft.PowerShell.Commands.Internal.Format;
|
||||
namespace Microsoft.PowerShell.Commands
|
||||
{
|
||||
/// <summary>
|
||||
/// Implementation for the format-table command.
|
||||
/// Implementation for the Format-Wide command.
|
||||
/// </summary>
|
||||
[Cmdlet(VerbsCommon.Format, "Wide", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2096930")]
|
||||
[OutputType(typeof(FormatStartData), typeof(FormatEntryData), typeof(FormatEndData), typeof(GroupStartData), typeof(GroupEndData))]
|
||||
public class FormatWideCommand : OuterFormatShapeCommandBase
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user