Ejemplo n.º 1
0
 public ProcessSetViewModel(Toolset toolset)
 {
     this.toolset = toolset ?? throw new ArgumentNullException(nameof(toolset));
     Next         = Command.Create(() =>
     {
         NextViewModel = new ConfigurationViewModel(BinarySet !, comPort !);
         PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(NextViewModel)));
     }, () => Consoles.All(c => c.IsSuccess == true) && comPort != null);
 }