private Task mapCompoundProperties(ModelSimulation simulation, CompoundProperties[] snapshotCompoundProperties, PKSimProject project) { var compoundPropertiesContext = new CompoundPropertiesContext(project, simulation); return(_compoundPropertiesMapper.MapToModels(snapshotCompoundProperties, compoundPropertiesContext)); }