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