mirror of
https://github.com/real-zony/ZonyLrcToolsX.git
synced 2025-09-05 21:16:52 +00:00
feat: Complete the basic GUI layout.
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
using ZonyLrcTools.Common.Configuration;
|
||||
|
||||
namespace ZonyLrcTools.Desktop.ViewModels.Settings;
|
||||
|
||||
public class LyricsProviderViewModel : ViewModelBase
|
||||
{
|
||||
private readonly LyricsProviderOptions _options;
|
||||
|
||||
public LyricsProviderViewModel(LyricsProviderOptions options)
|
||||
{
|
||||
_options = options;
|
||||
}
|
||||
|
||||
public string Name
|
||||
{
|
||||
get => _options.Name;
|
||||
set
|
||||
{
|
||||
if (_options.Name != value)
|
||||
{
|
||||
_options.Name = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public int Priority
|
||||
{
|
||||
get => _options.Priority;
|
||||
set
|
||||
{
|
||||
if (_options.Priority != value)
|
||||
{
|
||||
_options.Priority = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public int Depth
|
||||
{
|
||||
get => _options.Depth;
|
||||
set
|
||||
{
|
||||
if (_options.Depth != value)
|
||||
{
|
||||
_options.Depth = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user