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