re-organze namespace
This commit is contained in:
13
ModpackUpdater/UpdateInfos.cs
Normal file
13
ModpackUpdater/UpdateInfos.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace ModpackUpdater;
|
||||
|
||||
public class UpdateInfos
|
||||
{
|
||||
public List<UpdateInfo> Updates { get; private set; } = [];
|
||||
|
||||
public static UpdateInfos Parse(string content)
|
||||
{
|
||||
return JsonConvert.DeserializeObject<UpdateInfos>(content);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user