Ejemplo n.º 1
0
 public TaskAreaCommandGroupViewModel(string displayName, params TaskAreaCommandViewModel[] commands)
     : base(displayName)
 {
     _commands = new ReadOnlyList<TaskAreaCommandViewModel>(commands);
     if (_commands.Count > 0)
         _selectedCommand = _commands[0];
 }
Ejemplo n.º 2
0
 public TaskAreaCommandGroupViewModel(string displayName, params TaskAreaCommandViewModel[] commands)
     : base(displayName)
 {
     _commands = new ReadOnlyList <TaskAreaCommandViewModel>(commands);
     if (_commands.Count > 0)
     {
         _selectedCommand = _commands[0];
     }
 }