public override void EditCompound(Compound compound) { EditCompoundParameters(compound.AllParameters()); }
/// <summary> /// Returns the parameters from the drug that cannot be defined as alternatives /// </summary> private IEnumerable <IParameter> allSimpleParametersFrom(Compound compound) { return(compound.AllParameters(p => !CoreConstants.Groups.GroupsWithAlternative.Contains(p.GroupName))); }
public virtual void EditCompound(Compound compound) { _parameterEditPresenter.Edit(_parameterGroupTask.ParametersIn(_groupName, compound.AllParameters())); _view.AdjustHeight(); }