private void onValueSet(SimulationSelectionDTO simulationSelectionDTO, PropertyValueSetEventArgs <bool> args) { if (!AllowMultiSelect) { deselectAll(simulationSelectionDTO); } }
private RepositoryItem selectRepository(SimulationSelectionDTO dto) { return(_selectEditor); }
private void deselectAll(SimulationSelectionDTO simulationSelectionDTO) { _dtos.Except(new[] { simulationSelectionDTO }).Where(dto => dto.Selected).Each(dto => dto.Selected = false); }