mirror of
https://github.com/real-zony/ZonyLrcToolsX.git
synced 2025-09-05 13:07:26 +00:00

BREAKING CHANGE: Adjusted the internal structure of the config.yaml file, removed the top-level hierarchy.
28 lines
699 B
C#
28 lines
699 B
C#
namespace ZonyLrcTools.Common.Configuration
|
|
{
|
|
/// <summary>
|
|
/// 工具网络相关的设定。
|
|
/// </summary>
|
|
public class NetworkOptions
|
|
{
|
|
/// <summary>
|
|
/// 是否启用了网络代理功能。
|
|
/// </summary>
|
|
public bool IsEnable { get; set; }
|
|
|
|
/// <summary>
|
|
/// 代理服务器的 Ip。
|
|
/// </summary>
|
|
public string Ip { get; set; } = null!;
|
|
|
|
/// <summary>
|
|
/// 代理服务器的 端口。
|
|
/// </summary>
|
|
public int Port { get; set; }
|
|
|
|
/// <summary>
|
|
/// 更新检查的 Url。
|
|
/// </summary>
|
|
public string UpdateUrl { get; set; } = default!;
|
|
}
|
|
} |