summaryrefslogtreecommitdiff
path: root/ViewModels/Image/ImageNotLoadedViewModel.cs
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2019-12-15 22:30:38 +0100
committerDennis Brentjes <d.brentjes@gmail.com>2019-12-15 22:30:38 +0100
commit0f98b398520a3f5cc6a299e7fd3b8fab494480d7 (patch)
treea1c0ab173723c47adf23d7dc5c1894185052cc39 /ViewModels/Image/ImageNotLoadedViewModel.cs
downloadavalar-0f98b398520a3f5cc6a299e7fd3b8fab494480d7.tar.gz
avalar-0f98b398520a3f5cc6a299e7fd3b8fab494480d7.tar.bz2
avalar-0f98b398520a3f5cc6a299e7fd3b8fab494480d7.zip
Initial commit, skeleton project.
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; }
+ }
+}