mirror of
https://github.com/claunia/romrepomgr.git
synced 2025-12-16 19:24:51 +00:00
Add mock constructors to allow designer to instantiate viewmodels.
This commit is contained in:
@@ -52,6 +52,9 @@ public class MainWindowViewModel : ViewModelBase
|
||||
RomSetModel _selectedRomSet;
|
||||
Vfs _vfs;
|
||||
|
||||
// Mock
|
||||
public MainWindowViewModel() {}
|
||||
|
||||
public MainWindowViewModel(MainWindow view, List<RomSetModel> romSets)
|
||||
{
|
||||
_view = view;
|
||||
|
||||
Reference in New Issue
Block a user