Reloadable configuration, FontService (WIP)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
namespace FileTime.GuiApp.Configuration;
|
||||
|
||||
public class FontConfiguration
|
||||
{
|
||||
public const string SectionName = "Font";
|
||||
|
||||
public List<string> Main { get; set; } = new();
|
||||
public List<string> DateTime { get; set; } = new();
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<RootNamespace>FileTime.GuiApp</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace FileTime.GuiApp.Services;
|
||||
|
||||
public interface IFontService
|
||||
{
|
||||
IObservable<string?> MainFont { get; }
|
||||
string? GetMainFont();
|
||||
}
|
||||
Reference in New Issue
Block a user