Fixes #2663 - No more nested classes (#2664)

* Move all public nested classes out into own files

* Move more nested classes out

* Tidy up and treat CA1034 as an error.  Fix remaining nested classes.

* Remove partial keyword from ThemeManager as it is no longer needed

* Rename Bar to BarSeriesBar to more clearly indicate it is part of GraphView subsystem

* Fix xmldoc references

* Revert nesting changes to ConsoleDrivers

* Change to file scoped namespaces and revert renames

- LineCanvasCell back to just Cell
- ApplicationRunState back to just RunState

* Switch to file scoped namespaces
This commit is contained in:
Thomas Nind
2023-05-23 12:42:47 +01:00
committed by GitHub
parent 24ce90812f
commit e2feeefa93
66 changed files with 1864 additions and 1814 deletions

View File

@@ -327,7 +327,7 @@ namespace Terminal.Gui.ViewsTests {
// select the last row
tableView.MultiSelectedRegions.Clear ();
tableView.MultiSelectedRegions.Push (new TableView.TableSelection (new Point (0, 3), new Rect (0, 3, 4, 1)));
tableView.MultiSelectedRegions.Push (new TableSelection (new Point (0, 3), new Rect (0, 3, 4, 1)));
Assert.Equal (4, tableView.GetAllSelectedCells ().Count ());
@@ -430,8 +430,8 @@ namespace Terminal.Gui.ViewsTests {
*/
tableView.MultiSelectedRegions.Clear ();
tableView.MultiSelectedRegions.Push (new TableView.TableSelection (new Point (1, 1), new Rect (1, 1, 2, 2)));
tableView.MultiSelectedRegions.Push (new TableView.TableSelection (new Point (7, 3), new Rect (7, 3, 2, 1)));
tableView.MultiSelectedRegions.Push (new TableSelection (new Point (1, 1), new Rect (1, 1, 2, 2)));
tableView.MultiSelectedRegions.Push (new TableSelection (new Point (7, 3), new Rect (7, 3, 2, 1)));
tableView.SelectedColumn = 8;
tableView.SelectedRow = 3;
@@ -1534,7 +1534,7 @@ namespace Terminal.Gui.ViewsTests {
// user has rectangular selection
tableView.MultiSelectedRegions.Push (
new TableView.TableSelection (
new TableSelection (
new Point (0, 0),
new Rect (0, 0, 3, 1))
);
@@ -2999,7 +2999,7 @@ A B C
ShowHorizontalHeaderOverline = false,
ShowHorizontalHeaderUnderline = false
};
var listStyle = new ListTableSource.ListColumnStyle () {
var listStyle = new ListColumnStyle () {
Orientation = orient,
ScrollParallel = parallel
};