mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 12:15:00 +00:00
feature: simple self-update implementation (#29)
This commit is contained in:
parent
86a1148148
commit
92e065feba
15 changed files with 494 additions and 7 deletions
9
src/SourceGit/App.JsonCodeGen.cs
Normal file
9
src/SourceGit/App.JsonCodeGen.cs
Normal file
|
@ -0,0 +1,9 @@
|
|||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace SourceGit
|
||||
{
|
||||
[JsonSourceGenerationOptions(WriteIndented = true, IgnoreReadOnlyFields = true, IgnoreReadOnlyProperties = true)]
|
||||
[JsonSerializable(typeof(Models.Version))]
|
||||
[JsonSerializable(typeof(ViewModels.Preference))]
|
||||
internal partial class JsonCodeGen : JsonSerializerContext { }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue