mirror of
https://github.com/2dust/v2rayN.git
synced 2025-11-29 03:02:53 +00:00
21 lines
463 B
C#
21 lines
463 B
C#
namespace ServiceLib.Models;
|
|
|
|
public class UpdateResult
|
|
{
|
|
public bool Success { get; set; }
|
|
public string? Msg { get; set; }
|
|
public SemanticVersion? Version { get; set; }
|
|
public string? Url { get; set; }
|
|
|
|
public UpdateResult(bool success, string? msg)
|
|
{
|
|
Success = success;
|
|
Msg = msg;
|
|
}
|
|
|
|
public UpdateResult(bool success, SemanticVersion? version)
|
|
{
|
|
Success = success;
|
|
Version = version;
|
|
}
|
|
}
|