コード例 #1
0
        public override void Rename(DataRepository observedData)
        {
            using (var renamePresenter = _applicationController.Start <IRenameObservedDataPresenter>())
            {
                if (!renamePresenter.Edit(observedData))
                {
                    return;
                }

                _executionContext.AddToHistory(new RenameObservedDataCommand(observedData, renamePresenter.Name).Run(_executionContext));
            }
        }
コード例 #2
0
 public void ExtractIndividualsFrom(Population population, IndividualExtractionOptions individualExtractionOptions)
 {
     _executionContext.AddToHistory(ExtractIndividualsFromPopulationCommand(population, individualExtractionOptions));
 }
コード例 #3
0
ファイル: BuildingBlockTask.cs プロジェクト: valdiman/PK-Sim
 public void AddCommandToHistory(ICommand command)
 {
     _executionContext.AddToHistory(command);
 }