Skip to content

[UI/Core Split] Refactor StringToEnum in Utilities #180

@benfleuty

Description

@benfleuty

The StringToEnum method in Utilities.cs provides a generic way to convert a string to an enum. This is a useful utility function, but its location in a general Utilities class can be refactored into a more specific utility class focused on type conversion or string manipulation within the core layer.

Action:

  1. Create a new core-level utility class for type conversion or string utilities (e.g., TypeConverterUtils.cs or StringUtils.cs).
  2. Move the StringToEnum method to this new class.
  3. Update any code that uses StringToEnum to reference the new class.
  4. Add or update tests for the string-to-enum conversion logic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions