using System.Reactive; using PcgsInvUi.Views; using ReactiveUI; namespace PcgsInvUi.ViewModels; public class DeleteWindowViewModel : ViewModelBase { public ReactiveCommand OkCommand { get; } public ReactiveCommand CancelCommand { get; } public DeleteWindowViewModel() { OkCommand = ReactiveCommand.Create(() => (object)true); CancelCommand = ReactiveCommand.Create(window => window.Close()); } }