Windows-powershell / PowerShell-master /src /Microsoft.PowerShell.Commands.Management /commands /management /PropertyCommandBase.cs
Download PowerShell-master/src/Microsoft.PowerShell.Commands.Management/commands/management/PropertyCommandBase.cs from MegaBites-AI/Windows-powershell: direct link, hf CLI and curl.
- Browser
- Download file 1.62 kB
-
https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/src/Microsoft.PowerShell.Commands.Management/commands/management/PropertyCommandBase.cs
- Command line
-
hf download hf://datasets/MegaBites-AI/Windows-powershell/PowerShell-master/src/Microsoft.PowerShell.Commands.Management/commands/management/PropertyCommandBase.cs
-
curl -L -o PropertyCommandBase.cs https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/src/Microsoft.PowerShell.Commands.Management/commands/management/PropertyCommandBase.cs
1.62 kB
| // Copyright (c) Microsoft Corporation. | |
| // Licensed under the MIT License. | |
| using System; | |
| using System.Management.Automation; | |
| namespace Microsoft.PowerShell.Commands | |
| { | |
| /// <summary> | |
| /// The base class for the */property commands. | |
| /// </summary> | |
| public class ItemPropertyCommandBase : CoreCommandWithCredentialsBase | |
| { | |
| /// <summary> | |
| /// Gets or sets the filter parameter. | |
| /// </summary> | |
| [] | |
| public override string Filter | |
| { | |
| get | |
| { | |
| return base.Filter; | |
| } | |
| set | |
| { | |
| base.Filter = value; | |
| } | |
| } | |
| /// <summary> | |
| /// Gets or sets the include property. | |
| /// </summary> | |
| [] | |
| public override string[] Include | |
| { | |
| get | |
| { | |
| return base.Include; | |
| } | |
| set | |
| { | |
| base.Include = value; | |
| } | |
| } | |
| /// <summary> | |
| /// Gets or sets the exclude property. | |
| /// </summary> | |
| [] | |
| public override string[] Exclude | |
| { | |
| get | |
| { | |
| return base.Exclude; | |
| } | |
| set | |
| { | |
| base.Exclude = value; | |
| } | |
| } | |
| /// <summary> | |
| /// The path to the item. | |
| /// </summary> | |
| internal string[] paths = Array.Empty<string>(); | |
| } | |
| } | |