Configuration
This commit is contained in:
parent
f703567aed
commit
6a9c9e006c
8 changed files with 72 additions and 20 deletions
6
app/InkForge.Common/Properties/ApplicationSettings.cs
Normal file
6
app/InkForge.Common/Properties/ApplicationSettings.cs
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
namespace InkForge.Common.Properties;
|
||||
|
||||
public class ApplicationSettings
|
||||
{
|
||||
public List<string> History { get; } = [];
|
||||
}
|
||||
|
|
@ -2,6 +2,7 @@ using System.Text.Json.Serialization;
|
|||
|
||||
namespace InkForge.Common.Properties;
|
||||
|
||||
[JsonSerializable(typeof(ApplicationSettings))]
|
||||
[JsonSerializable(typeof(IDictionary<string, object>))]
|
||||
[JsonSourceGenerationOptions(GenerationMode = JsonSourceGenerationMode.Metadata)]
|
||||
public partial class ConfigContext : JsonSerializerContext;
|
||||
|
|
|
|||
1
app/InkForge.Common/Properties/Settings.json
Normal file
1
app/InkForge.Common/Properties/Settings.json
Normal file
|
|
@ -0,0 +1 @@
|
|||
{}
|
||||
Loading…
Add table
Add a link
Reference in a new issue