Windows-powershell / PowerShell-master /src /System.Management.Automation /FormatAndOutput /common /DisplayDatabase /displayDescriptionDataMethods.cs
Download PowerShell-master/src/System.Management.Automation/FormatAndOutput/common/DisplayDatabase/displayDescriptionDataMethods.cs from MegaBites-AI/Windows-powershell: direct link, hf CLI and curl.
- Browser
- Download file 811 Bytes
-
https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/src/System.Management.Automation/FormatAndOutput/common/DisplayDatabase/displayDescriptionDataMethods.cs
- Command line
-
hf download hf://datasets/MegaBites-AI/Windows-powershell/PowerShell-master/src/System.Management.Automation/FormatAndOutput/common/DisplayDatabase/displayDescriptionDataMethods.cs
-
curl -L -o displayDescriptionDataMethods.cs https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/src/System.Management.Automation/FormatAndOutput/common/DisplayDatabase/displayDescriptionDataMethods.cs
811 Bytes
| // Copyright (c) Microsoft Corporation. | |
| // Licensed under the MIT License. | |
| namespace Microsoft.PowerShell.Commands.Internal.Format | |
| { | |
| internal sealed partial class TypeInfoDataBase | |
| { | |
| } | |
| internal sealed partial class AppliesTo | |
| { | |
| internal void AddAppliesToTypeGroup (string typeGroupName) | |
| { | |
| TypeGroupReference tgr = new TypeGroupReference (); | |
| tgr.name = typeGroupName; | |
| this.referenceList.Add (tgr); | |
| } | |
| internal void AddAppliesToType(string typeName) | |
| { | |
| TypeReference tr = new TypeReference(); | |
| tr.name = typeName; | |
| this.referenceList.Add(tr); | |
| } | |
| } | |
| } | |