Beispiel #1
0
        private Task mapCompoundProperties(ModelSimulation simulation, CompoundProperties[] snapshotCompoundProperties, PKSimProject project)
        {
            var compoundPropertiesContext = new CompoundPropertiesContext(project, simulation);

            return(_compoundPropertiesMapper.MapToModels(snapshotCompoundProperties, compoundPropertiesContext));
        }
        private Task mapCompoundProperties(ModelSimulation simulation, CompoundProperties[] snapshotCompoundProperties, SnapshotContext snapshotContext)
        {
            var compoundPropertiesContext = new SnapshotContextWithSimulation(simulation, snapshotContext);

            return(_compoundPropertiesMapper.MapToModels(snapshotCompoundProperties, compoundPropertiesContext));
        }