Exemplo n.º 1
0
 public IndividualTransporterExpressionsPresenter(IIndividualTransporterExpressionsView view, IEditParameterPresenterTask parameterTask, IMoleculeExpressionTask <TSimulationSubject> moleculeExpressionTask,
                                                  IIndividualTransporterToTransporterExpressionDTOMapper transporterExpressionDTOMapper,
                                                  ITransporterContainerTemplateRepository transporterContainerTemplateRepository, IIndividualMoleculePropertiesPresenter <TSimulationSubject> moleculePropertiesPresenter)
     : base(view, parameterTask)
 {
     _moleculeExpressionTask                 = moleculeExpressionTask;
     _transporterExpressionDTOMapper         = transporterExpressionDTOMapper;
     _moleculePropertiesPresenter            = moleculePropertiesPresenter;
     _transporterContainerTemplateRepository = transporterContainerTemplateRepository;
     AddSubPresenters(_moleculePropertiesPresenter);
     view.AddMoleculePropertiesView(_moleculePropertiesPresenter.View);
 }
 public IndividualTransporterExpressionsPresenter(
     IIndividualTransporterExpressionsView view,
     IEditParameterPresenterTask parameterTask,
     IMoleculeExpressionTask <TSimulationSubject> moleculeExpressionTask,
     IIndividualTransporterToTransporterExpressionDTOMapper transporterExpressionDTOMapper,
     IIndividualMoleculePropertiesPresenter <TSimulationSubject> moleculePropertiesPresenter,
     ITransporterExpressionParametersPresenter transporterExpressionParametersPresenter)
     : base(view, parameterTask)
 {
     _moleculeExpressionTask                   = moleculeExpressionTask;
     _transporterExpressionDTOMapper           = transporterExpressionDTOMapper;
     _moleculePropertiesPresenter              = moleculePropertiesPresenter;
     _transporterExpressionParametersPresenter = transporterExpressionParametersPresenter;
     _transporterExpressionParametersPresenter.SetTransportDirection = SetTransportDirection;
     AddSubPresenters(_moleculePropertiesPresenter, _transporterExpressionParametersPresenter);
     view.AddMoleculePropertiesView(_moleculePropertiesPresenter.View);
     view.AddExpressionParametersView(_transporterExpressionParametersPresenter.View);
 }