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