25 lines
474 B
25 lines
474 B
3 years ago
|
using GalaSoft.MvvmLight;
|
||
|
using GalaSoft.MvvmLight.Command;
|
||
|
using System.Windows.Input;
|
||
|
using System;
|
||
|
namespace BBWY.Client.ViewModels
|
||
|
{
|
||
|
public class BaseVM : ViewModelBase
|
||
|
{
|
||
|
public Guid VMId { get; set; }
|
||
|
|
||
|
public ICommand LoadCommand { get; set; }
|
||
|
|
||
|
public BaseVM()
|
||
|
{
|
||
|
VMId = Guid.NewGuid();
|
||
|
LoadCommand = new RelayCommand(Load);
|
||
|
}
|
||
|
|
||
|
protected virtual void Load()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|