Windows-powershell / PowerShell-master /src /Microsoft.Management.UI.Internal /ShowCommand /ViewModel /HelpNeededEventArgs.cs
Download PowerShell-master/src/Microsoft.Management.UI.Internal/ShowCommand/ViewModel/HelpNeededEventArgs.cs from MegaBites-AI/Windows-powershell: direct link, hf CLI and curl.
- Browser
- Download file 1 kB
-
https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/src/Microsoft.Management.UI.Internal/ShowCommand/ViewModel/HelpNeededEventArgs.cs
- Command line
-
hf download hf://datasets/MegaBites-AI/Windows-powershell/PowerShell-master/src/Microsoft.Management.UI.Internal/ShowCommand/ViewModel/HelpNeededEventArgs.cs
-
curl -L -o HelpNeededEventArgs.cs https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/src/Microsoft.Management.UI.Internal/ShowCommand/ViewModel/HelpNeededEventArgs.cs
1 kB
| // Copyright (c) Microsoft Corporation. | |
| // Licensed under the MIT License. | |
| using System; | |
| namespace Microsoft.PowerShell.Commands.ShowCommandInternal | |
| { | |
| /// <summary> | |
| /// Arguments for the event triggered when it is necessary to display help for a command. | |
| /// </summary> | |
| public class HelpNeededEventArgs : EventArgs | |
| { | |
| /// <summary> | |
| /// the name for the command needing help. | |
| /// </summary> | |
| private string commandName; | |
| /// <summary> | |
| /// Initializes a new instance of the HelpNeededEventArgs class. | |
| /// </summary> | |
| /// <param name="commandName">The name for the command needing help.</param> | |
| public HelpNeededEventArgs(string commandName) | |
| { | |
| this.commandName = commandName; | |
| } | |
| /// <summary> | |
| /// Gets the name for the command needing help. | |
| /// </summary> | |
| public string CommandName | |
| { | |
| get { return this.commandName; } | |
| } | |
| } | |
| } | |