File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
src/PowerShellEditorServices/Workspace Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 12
12
13
13
namespace Microsoft . PowerShell . EditorServices
14
14
{
15
+ /// <summary>
16
+ /// Contains details for a code correction which can be applied from a ScriptFileMarker.
17
+ /// </summary>
15
18
public class MarkerCorrection
16
19
{
20
+ /// <summary>
21
+ /// Gets or sets the display name of the code correction.
22
+ /// </summary>
17
23
public string Name { get ; set ; }
18
24
25
+ /// <summary>
26
+ /// Gets or sets the list of ScriptRegions that define the edits to be made by the correction.
27
+ /// </summary>
19
28
public ScriptRegion [ ] Edits { get ; set ; }
20
29
}
21
30
@@ -64,6 +73,9 @@ public class ScriptFileMarker
64
73
/// </summary>
65
74
public ScriptRegion ScriptRegion { get ; set ; }
66
75
76
+ /// <summary>
77
+ /// Gets or sets an optional code correction that can be applied based on this marker.
78
+ /// </summary>
67
79
public MarkerCorrection Correction { get ; set ; }
68
80
69
81
#endregion
You can’t perform that action at this time.
0 commit comments