-
Notifications
You must be signed in to change notification settings - Fork 1k
Unify namespaces and class names under DemoConsole #13433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unify namespaces and class names under DemoConsole #13433
Conversation
Related dotnet#13388 ## Proposed changes - Unifies `DesignSurfaceExt` and `DemoConsole` namespaces under the latter. - Renames class names where appropriate to reflect the shared project identity, in preparation for relocating all files into the `DemoConsole` folder in a follow-up PR. ## Customer Impact - None or succinct description ## Regression? - No ## Risk - Minimal ## Test environment(s) - 10.0.100-preview.3.25201.16
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request unifies the namespaces and class names under the DemoConsole identity to prepare for relocating files into the DemoConsole folder.
- Changed namespace from DesignSurfaceExt to DemoConsole throughout integration tests
- Renamed several classes and interfaces (e.g., UndoEngineExt → UndoEngineExtended, IDesignSurfaceExt → IDesignSurfaceExtended) for consistency
- Updated usage in MainForm and global usings to reflect the unified naming
Reviewed Changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
src/test/integration/DesignSurface/DesignSurfaceExt/UndoEngineExt.cs | Updated namespace and renamed class from UndoEngineExt to UndoEngineExtended |
src/test/integration/DesignSurface/DesignSurfaceExt/TabOrderHooker.cs | Updated namespace from DesignSurfaceExt to DemoConsole |
src/test/integration/DesignSurface/DesignSurfaceExt/PropertyGridExt.cs | Updated namespace and renamed class from PropertyGridExt to PropertyGridExtended |
src/test/integration/DesignSurface/DesignSurfaceExt/NameCreationServiceImp.cs | Updated namespace and renamed class from NameCreationServiceImp to NameCreationService |
src/test/integration/DesignSurface/DesignSurfaceExt/IDesignSurfaceExt.cs | Updated namespace and renamed interface from IDesignSurfaceExt to IDesignSurfaceExtended |
src/test/integration/DesignSurface/DesignSurfaceExt/DesignerSerializationServiceImpl.cs | Updated namespace and renamed class from DesignerSerializationServiceImpl to DesignerSerializationService |
src/test/integration/DesignSurface/DesignSurfaceExt/DesignerOptionServiceExt.cs | Updated namespace from DesignSurfaceExt to DemoConsole |
src/test/integration/DesignSurface/DesignSurfaceExt/DesignSurfaceExt.cs | Updated namespace and renamed class from DesignSurfaceExt to DesignSurfaceExtended; updated field types accordingly |
src/test/integration/DesignSurface/DemoConsole/MainForm.cs | Updated variable types from IDesignSurfaceExt to IDesignSurfaceExtended and usage of DesignSurfaceExtended |
src/test/integration/DesignSurface/DemoConsole/GlobalUsings.cs | Updated global using from DesignSurfaceExt to DemoConsole |
Files not reviewed (1)
- src/test/integration/DesignSurface/DemoConsole/MainForm.Designer.cs: Language not supported
Comments suppressed due to low confidence (1)
src/test/integration/DesignSurface/DesignSurfaceExt/DesignSurfaceExt.cs:8
- The constant value still uses 'DesignSurfaceExt' even though the class and namespace have been renamed to 'DemoConsole' and 'DesignSurfaceExtended'. Consider updating the constant to reflect the new naming for consistency.
private const string Name = "DesignSurfaceExt";
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume you will rename binaries and the cs files in the next PR as well?
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #13433 +/- ##
===================================================
+ Coverage 76.59808% 76.60183% +0.00375%
===================================================
Files 3230 3230
Lines 639097 639097
Branches 47289 47289
===================================================
+ Hits 489536 489560 +24
+ Misses 145997 145964 -33
- Partials 3564 3573 +9
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Related #13388
Proposed changes
DesignSurfaceExt
andDemoConsole
namespaces under the latter.DemoConsole
folder in a follow-up PR.Customer Impact
Regression?
Risk
Test environment(s)
Microsoft Reviewers: Open in CodeFlow