Windows-powershell / PowerShell-master /src /System.Management.Automation /FormatAndOutput /common /DisplayDatabase /displayDescriptionDataMethods.cs
| // 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); | |
| } | |
| } | |
| } | |