Target Module/File
GeneralUpdate.ClientCore/GeneralClientBootstrap.cs
Current Code Problems
In the SetConfig method of the bootstrap class GeneralClientBootstrap, every time a new field is added, corresponding modifications must be made to ProcessInfo, GlobalConfigInfo, and the places where process parameters are passed and written to files. This process is highly error-prone and cumbersome, requiring a refactoring.
Refactoring Objectives
The goal of the refactoring is to avoid missing parameter passing during maintenance and improve maintainability.
Refactoring Scope and Boundaries
Refactor the code only, while preserving the original intent of the code.
Risk Assessment
No response
Reference Materials
No response
Expected Completion Time
No response