make list
This commit is contained in:
@@ -3,9 +3,12 @@ using Newtonsoft.Json.Converters;
|
||||
|
||||
namespace ModpackUpdater;
|
||||
|
||||
public class UpdateInfo
|
||||
public class UpdateInfo : IActionSetInfos
|
||||
{
|
||||
[JsonConverter(typeof(VersionConverter))]
|
||||
public Version Version { get; set; }
|
||||
public List<UpdateAction> Actions { get; private set; } = [];
|
||||
|
||||
public List<UpdateAction> Actions { get; } = [];
|
||||
|
||||
IEnumerable<InstallAction> IActionSetInfos.Actions => Actions.Cast<InstallAction>();
|
||||
}
|
||||
Reference in New Issue
Block a user