mirror of
https://github.com/jayfunc/BetterLyrics.git
synced 2026-01-12 19:08:33 +08:00
26 lines
631 B
C#
26 lines
631 B
C#
// 2025/6/23 by Zhe Fang
|
|
|
|
using BetterLyrics.WinUI3.Enums;
|
|
using CommunityToolkit.Mvvm.ComponentModel;
|
|
|
|
namespace BetterLyrics.WinUI3.Models
|
|
{
|
|
public partial class LyricsSearchProviderInfo : ObservableObject
|
|
{
|
|
[ObservableProperty]
|
|
public partial bool IsEnabled { get; set; }
|
|
|
|
[ObservableProperty]
|
|
public partial LyricsSearchProvider Provider { get; set; }
|
|
|
|
public LyricsSearchProviderInfo() { }
|
|
|
|
public LyricsSearchProviderInfo(LyricsSearchProvider provider, bool isEnabled)
|
|
{
|
|
Provider = provider;
|
|
IsEnabled = isEnabled;
|
|
}
|
|
|
|
}
|
|
}
|