forked from PowerShell/PowerShell
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHelpNeededEventArgs.cs
More file actions
38 lines (34 loc) · 1.2 KB
/
Copy pathHelpNeededEventArgs.cs
File metadata and controls
38 lines (34 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//-----------------------------------------------------------------------
// <copyright file="HelpNeededEventArgs.cs" company="Microsoft">
// Copyright © Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Microsoft.PowerShell.Commands.ShowCommandInternal
{
using System;
/// <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; }
}
}
}