Skip to content

[REFACTOR] Refactor the parameter initialization method in the bootstrap class GeneralClientBootstrap #106

@JusterZhu

Description

@JusterZhu

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

Metadata

Metadata

Labels

refactorRefactor some existing code.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions