migration
This commit is contained in:
parent
561881c9aa
commit
f133c740e1
55 changed files with 2928 additions and 20 deletions
18
test/Discovery.Loader.Avalonia/Models/Update.cs
Normal file
18
test/Discovery.Loader.Avalonia/Models/Update.cs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Discovery.Loader.Models;
|
||||
|
||||
[JsonSourceGenerationOptions(PropertyNameCaseInsensitive = true, DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
[JsonSerializable(typeof(Update))]
|
||||
public partial class UpdateContext : JsonSerializerContext
|
||||
{
|
||||
}
|
||||
|
||||
public class Update
|
||||
{
|
||||
[JsonPropertyName("version")]
|
||||
public string? Version { get; set; }
|
||||
|
||||
[JsonPropertyName("link")]
|
||||
public string? Link { get; set; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue