Files
cursor-lang/CursorLang.Settings.Tests/Infrastructure/SettingsFakes.cs
T
alex 42974ecc8f
Release / release (push) Canceled after 47s
modified release pipeline (#4)
await certificate from ssl.com

Reviewed-on: #4
Co-authored-by: Aleksandr Neychev <alexnejchev73@gmail.com>
2026-08-13 11:17:22 +00:00

17 lines
503 B
C#

using CursorLang.Core.Models;
using CursorLang.Settings.Services;
namespace CursorLang.Settings.Tests.Infrastructure;
/// <summary>
/// A theme that paints nothing and only remembers the windows attached to it.
/// </summary>
internal sealed class FakeThemeService : IThemeService
{
public AppTheme CurrentTheme { get; set; } = AppTheme.Light;
internal List<System.Windows.Window> Registered { get; } = [];
public void Register(System.Windows.Window window) => Registered.Add(window);
}