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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user