From 59777a922a031ad67b5bb1a93595111d229ef86c Mon Sep 17 00:00:00 2001 From: Chris Pulman Date: Sat, 24 Jul 2021 10:29:00 +0100 Subject: [PATCH 1/3] fix IsExecuting and Can Execute threading issue fix #2834 --- .../CanExecuteExecutingView.xaml | 26 +++++++++++++ .../CanExecuteExecutingView.xaml.cs | 26 +++++++++++++ .../CanExecuteMock/LiveTestModeDetector.cs | 37 ++++++++++++++++++ .../wpf/Mocks/CommandBindingViewModel.cs | 21 ++++++++++ .../Platforms/wpf/WpfActiveContentTests.cs | 38 +++++++++++++++++++ src/ReactiveUI.Tests/ReactiveUI.Tests.csproj | 8 ++++ .../ReactiveCommand/ReactiveCommand.cs | 4 +- 7 files changed, 158 insertions(+), 2 deletions(-) create mode 100644 src/ReactiveUI.Tests/Platforms/wpf/Mocks/CanExecuteMock/CanExecuteExecutingView.xaml create mode 100644 src/ReactiveUI.Tests/Platforms/wpf/Mocks/CanExecuteMock/CanExecuteExecutingView.xaml.cs create mode 100644 src/ReactiveUI.Tests/Platforms/wpf/Mocks/CanExecuteMock/LiveTestModeDetector.cs diff --git a/src/ReactiveUI.Tests/Platforms/wpf/Mocks/CanExecuteMock/CanExecuteExecutingView.xaml b/src/ReactiveUI.Tests/Platforms/wpf/Mocks/CanExecuteMock/CanExecuteExecutingView.xaml new file mode 100644 index 0000000000..e4d20dedfc --- /dev/null +++ b/src/ReactiveUI.Tests/Platforms/wpf/Mocks/CanExecuteMock/CanExecuteExecutingView.xaml @@ -0,0 +1,26 @@ + + + + +