Beispiel #1
0
 /// <summary>
 /// Constructor that takes a reference to the MainWindowViewModel
 /// </summary>
 /// <param name="viewModel"></param>
 public SaveCommand(MainWindowViewModel viewModel)
 {
     this._viewModel = viewModel;
 }
Beispiel #2
0
 /// <summary>
 /// Constructor that takes a reference to the MainWindowViewModel
 /// </summary>
 /// <param name="viewModel"></param>
 public CancelCommand(MainWindowViewModel viewModel)
 {
     this._viewModel = viewModel;
 }