Windows-powershell / PowerShell-master /src /System.Management.Automation /FormatAndOutput /format-default /format-default.cs
Download PowerShell-master/src/System.Management.Automation/FormatAndOutput/format-default/format-default.cs from MegaBites-AI/Windows-powershell: direct link, hf CLI and curl.
- Browser
- Download file 658 Bytes
-
https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/src/System.Management.Automation/FormatAndOutput/format-default/format-default.cs
- Command line
-
hf download hf://datasets/MegaBites-AI/Windows-powershell/PowerShell-master/src/System.Management.Automation/FormatAndOutput/format-default/format-default.cs
-
curl -L -o format-default.cs https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/src/System.Management.Automation/FormatAndOutput/format-default/format-default.cs
658 Bytes
| // Copyright (c) Microsoft Corporation. | |
| // Licensed under the MIT License. | |
| using System.Management.Automation; | |
| using Microsoft.PowerShell.Commands.Internal.Format; | |
| namespace Microsoft.PowerShell.Commands | |
| { | |
| /// <summary> | |
| /// Implementation for the format-default command. | |
| /// </summary> | |
| [] | |
| public class FormatDefaultCommand : FrontEndCommandBase | |
| { | |
| /// <summary> | |
| /// Constructor to set the inner command. | |
| /// </summary> | |
| public FormatDefaultCommand() | |
| { | |
| this.implementation = new InnerFormatShapeCommand(FormatShape.Undefined); | |
| } | |
| } | |
| } | |