Commit 9f4bc39
committed
Refactor ConsoleGui to OutConsoleGridView
Refactored the `ConsoleGui` class into a new class named `OutConsoleGridView` to improve modularity and maintainability. The `ConsoleGui` class was removed, and its functionality was moved to `OutConsoleGridView`, which is now implemented in a separate file (`OutConsoleGridView.cs`).
Updated all references to `ConsoleGui` in `OutConsoleGridViewCmdletCommand`:
- Replaced `_consoleGui` with `_outConsoleGridView`.
- Updated method calls to use `OutConsoleGridView` methods.
- Updated the `Dispose` method to dispose of `_outConsoleGridView`.
This change reorganizes the codebase for better readability and separation of concerns without introducing any functional changes.1 parent 1052c39 commit 9f4bc39
File tree
2 files changed
+5
-5
lines changed- src/Microsoft.PowerShell.ConsoleGuiTools
2 files changed
+5
-5
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
0 commit comments