protected override void Context() { _projectTask = A.Fake <IProjectTask>(); _projectPath = "tralalal"; sut = new OpenMRUProjectCommand(_projectTask); sut.ProjectPath = _projectPath; }
public PkmlFileFromFolderRunner(IMoBiContext context, IBatchLogger logger, ISimulationBatchRunner simulationBatchRunner, IProjectTask projectTask) { _context = context; _logger = logger; _simulationBatchRunner = simulationBatchRunner; _projectTask = projectTask; }
protected override void Context() { _projectTask = A.Fake <IProjectTask>(); _userSettingsPersitor = A.Fake <IUserSettingsPersistor>(); _applicationSettingsPersistor = A.Fake <IApplicationSettingsPersistor>(); sut = new ExitCommand(_projectTask, _userSettingsPersitor, _applicationSettingsPersistor); }
public ExitCommand(IProjectTask projectTask, IUserSettingsPersistor userSettingsPersitor, IUserSettings userSettings) { _projectTask = projectTask; _userSettingsPersitor = userSettingsPersitor; _userSettings = userSettings; ShouldCloseApplication = true; }
public TasksController(IAppUser <ApplicationUser> rep, IProjectTask <ProjectTask, ApplicationUser> tas, IProject <Project, ApplicationUser> pro, IEmployee <Employee> repoEmployee) { _repositoryAppUser = rep; _repositoryTask = tas; _repositoryProject = pro; _repositoryEmployee = repoEmployee; }
public EmployeeController(IAppUser <ApplicationUser> rep, IEmployee <Employee> emp, IUser_Employee <User_Employee, ApplicationUser, Employee> us, IProjectTask <ProjectTask, ApplicationUser> repositoryP_T, IProject <Project, ApplicationUser> repoProject) { _repositoryUser = rep; _repositoryEmployee = emp; _repositoryUser_Employee = us; _repositoryProject_Task = repositoryP_T; _repositoryProject = repoProject; }
public ExitCommand(IProjectTask projectTask, IUserSettingsPersistor userSettingsPersitor, IApplicationSettingsPersistor applicationSettingsPersistor ) { _projectTask = projectTask; _userSettingsPersitor = userSettingsPersitor; _applicationSettingsPersistor = applicationSettingsPersistor; }
public PKSimMainViewPresenter(IPKSimMainView mainView, IRepository <IMainViewItemPresenter> presenterRepository, IExitCommand exitCommand, IEventPublisher eventPublisher, IUserSettings userSettings, IProjectTask projectTask, IVersionChecker versionChecker, ITabbedMdiChildViewContextMenuFactory contextMenuFactory) : base(mainView, eventPublisher, contextMenuFactory) { _presenterRepository = presenterRepository; _exitCommand = exitCommand; _userSettings = userSettings; _projectTask = projectTask; _versionChecker = versionChecker; }
protected override void Context() { _view = A.Fake <IPKSimMainView>(); _presenterRepository = A.Fake <IRepository <IMainViewItemPresenter> >(); _exitCommand = A.Fake <IExitCommand>(); _eventPublisher = A.Fake <IEventPublisher>(); _userSettings = A.Fake <IUserSettings>(); _projectTask = A.Fake <IProjectTask>(); _versionChecker = A.Fake <IVersionChecker>(); _contextMenuFactory = A.Fake <ITabbedMdiChildViewContextMenuFactory>(); sut = new PKSimMainViewPresenter(_view, _presenterRepository, _exitCommand, _eventPublisher, _userSettings, _projectTask, _versionChecker, _contextMenuFactory); }
protected override void Context() { _view = A.Fake <IPKSimMainView>(); _presenterRepository = A.Fake <IRepository <IMainViewItemPresenter> >(); _exitCommand = A.Fake <IExitCommand>(); _eventPublisher = A.Fake <IEventPublisher>(); _userSettings = A.Fake <IUserSettings>(); _projectTask = A.Fake <IProjectTask>(); _versionChecker = A.Fake <IVersionChecker>(); _contextMenuFactory = A.Fake <ITabbedMdiChildViewContextMenuFactory>(); _configuration = A.Fake <IPKSimConfiguration>(); _watermarkStatusChecker = A.Fake <IWatermarkStatusChecker>(); A.CallTo(() => _configuration.ProductDisplayName).Returns("AA"); sut = new PKSimMainViewPresenter(_view, _eventPublisher, _contextMenuFactory, _presenterRepository, _exitCommand, _userSettings, _projectTask, _versionChecker, _configuration, _watermarkStatusChecker); }
public TrainingMaterialTask(IBuildingBlockTask buildingBlockTask, IWorkspace workspace, IBatchLogger logger, IBatchToCoreMapper mapper, ISimulationEngineFactory simulationEngineFactory, ISimulationConstructor simulationConstructor, ISimulationSettingsRetriever simulationSettingsRetriever, IObservedDataTask observedDataTask, IProjectTask projectTask, IParameterAlternativeFactory parameterAlternativeFactory, ICompoundAlternativeTask compoundAlternativeTask, ITrainingObservedDataRepository observedDataRepository) { _buildingBlockTask = buildingBlockTask; _workspace = workspace; _logger = logger; _mapper = mapper; _simulationEngineFactory = simulationEngineFactory; _simulationConstructor = simulationConstructor; _simulationSettingsRetriever = simulationSettingsRetriever; _observedDataTask = observedDataTask; _projectTask = projectTask; _parameterAlternativeFactory = parameterAlternativeFactory; _compoundAlternativeTask = compoundAlternativeTask; _observedDataRepository = observedDataRepository; }
public ImportSbmlUICommand(IProjectTask projectTasks) { _sbmlTasks = projectTasks; }
public SaveProjectAsCommand(IProjectTask projectTask) { _projectTask = projectTask; }
public ExportProjectToSnapshotCommand(IProjectTask projectTask) { _projectTask = projectTask; }
public LoadProjectUICommand(IProjectTask projectTask) { _projectTask = projectTask; }
protected NewProjectCommand(IProjectTask projectTask, ReactionDimensionMode reactionDimensionMode) { _projectTask = projectTask; _reactionDimensionMode = reactionDimensionMode; }
public Task <string> OpenPullRequest(IProjectTask task) { throw new NotImplementedException(); }
protected override void Context() { _projectTask = A.Fake <IProjectTask>(); sut = new LoadProjectFromSnapshotUICommand(_projectTask); }
protected override void Context() { _projectTask = A.Fake <IProjectTask>(); sut = new ExportProjectToSnapshotCommand(_projectTask); }
public NewConcentrationProjectCommand(IProjectTask projectTask) : base(projectTask, ReactionDimensionMode.ConcentrationBased) { }
public NewAmountProjectCommand(IProjectTask projectTask) : base(projectTask, ReactionDimensionMode.AmountBased) { }
public CloseProjectCommand(IProjectTask projectTask) { _projectTask = projectTask; }
public OpenSimulationCommand(IProjectTask projectTask) { _projectTask = projectTask; }
public OpenProjectCommand(IProjectTask projectTask) { _projectTask = projectTask; }
public NewProjectCommand(IProjectTask projectTask) { _projectTask = projectTask; }
protected override void Context() { _projectTask = A.Fake <IProjectTask>(); sut = new NewProjectCommand(_projectTask); }
public Task <string> AddTests(IProjectTask task) { throw new NotImplementedException(); }
public Task <string> CompleteTask(IProjectTask task) { throw new NotImplementedException(); }
public LoadProjectFromSnapshotUICommand(IProjectTask projectTask) { _projectTask = projectTask; }