Refactor term-related settings into a dedicated class

Extracted term-related properties from AppSettings to a new TermSettings class for improved organization and separation of concerns. Updated appsettings.json to reflect the new structure.
This commit is contained in:
Andre Beging
2025-03-28 09:01:50 +01:00
parent ff5fbd50bf
commit 3d92833199
14 changed files with 49 additions and 36 deletions

View File

@@ -3,27 +3,8 @@
public class AppSettings
{
#region Public Properties
/// <summary>
/// Gets or sets the name of the "StepIn."
/// This property typically represents the label or identifier used for a specific feature
/// or section within the application.
/// </summary>
public string? StepInName { get; set; } = "StepIn";
/// <summary>
/// Gets or sets the title of the application.
/// This property holds the display name or title of the application,
/// which may be used for branding purposes in various parts of the UI.
/// </summary>
public string? Title { get; set; } = "Foodsharing Musterhausen";
/// <summary>
/// Gets or sets the title displayed in the sidebar.
/// This property represents the text that appears in the application's sidebar,
/// typically used for informational or navigational purposes.
/// </summary>
public string? TitleShort { get; set; }
public TermSettings Terms { get; set; } = new();
#endregion
}