Add mock constructors to allow designer to instantiate viewmodels.

This commit is contained in:
2025-07-09 14:07:26 +01:00
parent 5586cc19c4
commit 3b576b0b0e
10 changed files with 89 additions and 4 deletions

View File

@@ -49,6 +49,9 @@ public sealed class ExportDatViewModel : ViewModelBase
bool _progressVisible;
string _statusMessage;
// Mock
public ExportDatViewModel() {}
public ExportDatViewModel(ExportDat view, string datHash, string outPath)
{
_view = view;