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:
@@ -51,6 +51,9 @@ public sealed class UpdateStatsViewModel : ViewModelBase
|
||||
RomSetModel _selectedRomSet;
|
||||
string _statusMessage;
|
||||
|
||||
// Mock
|
||||
public UpdateStatsViewModel() {}
|
||||
|
||||
public UpdateStatsViewModel(UpdateStats view)
|
||||
{
|
||||
_view = view;
|
||||
|
||||
Reference in New Issue
Block a user