Beispiel #1
0
 private void LoadCommands()
 {
     StartCommand = new CustomCommand(Start, CanStart);
 }
Beispiel #2
0
 public PrimesViewModel(IPrimesModel primesModel)
 {
     this.primesModel = primesModel;
     StartCommand     = new CustomCommand(obj => LoadData(), obj => enabled);
     LoadData();
 }