real-zony 8b5d5c64b0 refactor: Adjusted the structure of the configuration file.
BREAKING CHANGE: Adjusted the internal structure of the config.yaml file, removed the top-level hierarchy.
2024-07-02 21:22:40 +08:00

25 lines
728 B
C#

namespace ZonyLrcTools.Common.Configuration
{
public class LyricsProviderOptions
{
/// <summary>
/// 歌词下载器的唯一标识。
/// </summary>
public string Name { get; set; } = null!;
/// <summary>
/// 歌词下载时的优先级,当值为 -1 时是禁用。
/// </summary>
public int Priority { get; set; }
/// <summary>
/// 搜索深度,值越大搜索结果越多,但搜索时间越长。
/// </summary>
public int Depth { get; set; }
/// <summary>
/// 歌词下载器的扩展属性。
/// </summary>
public Dictionary<string, string>? Additional { get; set; }
}
}