summaryrefslogtreecommitdiff
path: root/ViewModels/Image/ImageNotLoadedViewModel.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ViewModels/Image/ImageNotLoadedViewModel.cs')
-rw-r--r--ViewModels/Image/ImageNotLoadedViewModel.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/ViewModels/Image/ImageNotLoadedViewModel.cs b/ViewModels/Image/ImageNotLoadedViewModel.cs
new file mode 100644
index 0000000..bf7b65e
--- /dev/null
+++ b/ViewModels/Image/ImageNotLoadedViewModel.cs
@@ -0,0 +1,15 @@
+using ReactiveUI;
+using System.Reactive;
+
+namespace Avalar.ViewModels.Image
+{
+ public class ImageNotLoadedViewModel : ReactiveObject
+ {
+ public ImageNotLoadedViewModel(ReactiveCommand<Unit, Unit> openFileCommand)
+ {
+ OpenFileCommand = openFileCommand;
+ }
+
+ public ReactiveCommand<Unit, Unit> OpenFileCommand { get; }
+ }
+}