protected override void Context() { _view = A.Fake <ISimulationParametersView>(); _parameterGroupPresenter = A.Fake <IParameterGroupsPresenter>(); A.CallTo(() => _parameterGroupPresenter.View).Returns(A.Fake <IParameterGroupsView>()); sut = new IndividualSimulationParametersPresenter(_view, _parameterGroupPresenter); }
public IndividualParametersPresenter(IIndividualParametersView view, IParameterGroupsPresenter parameterGroupsPresenter) : base(view) { _parameterGroupsPresenter = parameterGroupsPresenter; _parameterGroupsPresenter.NoSelectionCaption = PKSimConstants.Information.NoParametersInIndividualSelection; _view.AddParametersView(_parameterGroupsPresenter.View); }
protected SimulationParametersPresenter(ISimulationParametersView view, IParameterGroupsPresenter parameterGroupsPresenter) : base(view) { _parameterGroupsPresenter = parameterGroupsPresenter; _parameterGroupsPresenter.NoSelectionCaption = PKSimConstants.Information.NoParametersInSimulationSelection; _view.AddParametersView(_parameterGroupsPresenter.View); AddSubPresenters(parameterGroupsPresenter); }
protected override void Context() { _view = A.Fake <IIndividualParametersView>(); _parameterGroupPresenter = A.Fake <IParameterGroupsPresenter>(); A.CallTo(() => _parameterGroupPresenter.View).Returns(A.Fake <IParameterGroupsView>()); _organism = A.Fake <Organism>(); _individual = new Individual(); _individual.Add(_organism); _individualPresenter = A.Fake <IIndividualPresenter>(); A.CallTo(() => _individualPresenter.Individual).Returns(_individual); sut = new IndividualParametersPresenter(_view, _parameterGroupPresenter); sut.InitializeWith(_individualPresenter); }
public PopulationSimulationParametersPresenter(ISimulationParametersView view, IParameterGroupsPresenter parameterGroupsPresenter) : base(view, parameterGroupsPresenter) { }
public void BindToGroupingMode(IParameterGroupsPresenter parameterGroupsPresenter) { _groupModeBinder.BindToSource(parameterGroupsPresenter); }
protected override void Context() { _view = A.Fake <ISimulationParametersView>(); _parameterGroupPresenter = A.Fake <IParameterGroupsPresenter>(); sut = new PopulationSimulationParametersPresenter(_view, _parameterGroupPresenter); }
public void AttachPresenter(IParameterGroupsPresenter presenter) { _presenter = presenter; }
public IndividualSimulationParametersPresenter(ISimulationParametersView view, IParameterGroupsPresenter parameterGroupsPresenter) : base(view, parameterGroupsPresenter) { }