mirror of
https://github.com/2dust/v2rayN.git
synced 2026-05-26 07:53:49 +00:00
Move many model classes into new sub-namespaces (ServiceLib.Models.CoreConfigs, ServiceLib.Models.Configs, ServiceLib.Models.Dto, ServiceLib.Models.Entities). Update GlobalUsings in ServiceLib, v2rayN.Desktop, v2rayN and add a tests GlobalUsings file to reference the new namespaces. Adjust static using directives in ClashApiManager and ClashProxiesViewModel to use ServiceLib.Models.Dto. This is a reorganization/rename of files and namespaces with no functional changes.
21 lines
467 B
C#
21 lines
467 B
C#
namespace ServiceLib.Models.Dto;
|
|
|
|
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;
|
|
}
|
|
}
|