public void EditCompoundParameters(IEnumerable <IParameter> compoundParameters) { _molWeightParameters = compoundParameters.Where(x => string.Equals(x.GroupName, CoreConstants.Groups.COMPOUND_MW)).ToList(); _molWeightDTO = _molWeightDTOMapper.MapFrom(_molWeightParameters); _view.BindTo(new[] { _molWeightDTO.MolWeightParameter, _molWeightDTO.HasHalogensParameter, _molWeightDTO.MolWeightEffParameter }); _editValueOriginPresenter.Edit(_molWeightDTO.MolWeightParameter); }
public void EditCompoundParameters(IEnumerable <IParameter> compoundParameters) { _compoundParameters = compoundParameters.ToList(); _molWeightDTO = _molWeightDTOMapper.MapFrom(_compoundParameters); _view.BindTo(new[] { _molWeightDTO.MolWeightParameter, _molWeightDTO.HasHalogensParameter, _molWeightDTO.MolWeightEffParameter }); }