File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
src/PowerShellEditorServices/Extensions Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ using System ;
2
+
3
+ namespace Microsoft . PowerShell . EditorServices . Extensions
4
+ {
5
+ /// <summary>
6
+ /// Provides an attribute that can be used to target PowerShell
7
+ /// commands for import as editor commands.
8
+ /// </summary>
9
+ [ AttributeUsage ( AttributeTargets . Class ) ]
10
+ public class EditorCommandAttribute : Attribute
11
+ {
12
+
13
+ #region Properties
14
+
15
+ /// <summary>
16
+ /// Gets or sets the name which uniquely identifies the command.
17
+ /// </summary>
18
+ public string Name { get ; set ; }
19
+
20
+ /// <summary>
21
+ /// Gets or sets the display name for the command.
22
+ /// </summary>
23
+ public string DisplayName { get ; set ; }
24
+
25
+ /// <summary>
26
+ /// Gets or sets a value indicating whether this command's output
27
+ /// should be suppressed.
28
+ /// </summary>
29
+ public bool SuppressOutput { get ; set ; }
30
+
31
+ #endregion
32
+ }
33
+ }
You can’t perform that action at this time.
0 commit comments