ReactiveUI 24 (#9678)

* ReactiveUI.SourceGenerators

* Primitives

* Try fix
This commit is contained in:
DHR60
2026-08-01 02:08:43 +00:00
committed by GitHub
parent 635a04d74c
commit d924c6f557
63 changed files with 703 additions and 599 deletions
@@ -1,42 +1,42 @@
namespace ServiceLib.ViewModels;
public class FullConfigTemplateViewModel : MyReactiveObject, ICloseable
public partial class FullConfigTemplateViewModel : MyReactiveObject, ICloseable
{
public event EventHandler? RequestClose;
#region Reactive
[Reactive]
public bool EnableFullConfigTemplate4Ray { get; set; }
public partial bool EnableFullConfigTemplate4Ray { get; set; }
[Reactive]
public bool EnableFullConfigTemplate4Singbox { get; set; }
public partial bool EnableFullConfigTemplate4Singbox { get; set; }
[Reactive]
public string FullConfigTemplate4Ray { get; set; } = string.Empty;
public partial string FullConfigTemplate4Ray { get; set; } = string.Empty;
[Reactive]
public string FullTunConfigTemplate4Ray { get; set; } = string.Empty;
public partial string FullTunConfigTemplate4Ray { get; set; } = string.Empty;
[Reactive]
public string FullConfigTemplate4Singbox { get; set; } = string.Empty;
public partial string FullConfigTemplate4Singbox { get; set; } = string.Empty;
[Reactive]
public string FullTunConfigTemplate4Singbox { get; set; } = string.Empty;
public partial string FullTunConfigTemplate4Singbox { get; set; } = string.Empty;
[Reactive]
public bool AddProxyOnly4Ray { get; set; }
public partial bool AddProxyOnly4Ray { get; set; }
[Reactive]
public bool AddProxyOnly4Singbox { get; set; }
public partial bool AddProxyOnly4Singbox { get; set; }
[Reactive]
public string ProxyDetour4Ray { get; set; } = string.Empty;
public partial string ProxyDetour4Ray { get; set; } = string.Empty;
[Reactive]
public string ProxyDetour4Singbox { get; set; } = string.Empty;
public partial string ProxyDetour4Singbox { get; set; } = string.Empty;
public ReactiveCommand<Unit, Unit> SaveCmd { get; }
public ReactiveCommand<RxVoid, RxVoid> SaveCmd { get; }
#endregion Reactive