convert to c#
This commit is contained in:
11
ModpackUpdater.Model/UpdateInfo.cs
Normal file
11
ModpackUpdater.Model/UpdateInfo.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Converters;
|
||||
|
||||
namespace ModpackUpdater.Model;
|
||||
|
||||
public class UpdateInfo
|
||||
{
|
||||
[JsonConverter(typeof(VersionConverter))]
|
||||
public Version Version { get; set; }
|
||||
public List<UpdateAction> Actions { get; private set; } = [];
|
||||
}
|
||||
Reference in New Issue
Block a user