AppVersion mark default constructor as jsonconstructor

This commit is contained in:
2024-07-25 06:17:56 +02:00
parent e3132460e6
commit 0ae26f736e

View File

@@ -2,6 +2,7 @@
namespace Pilz.Updating; namespace Pilz.Updating;
[method: JsonConstructor]
public class AppVersion(Version version, int build, Channels channel) : IComparable, IComparable<AppVersion> public class AppVersion(Version version, int build, Channels channel) : IComparable, IComparable<AppVersion>
{ {
// P r o p e r t i e s // P r o p e r t i e s