public override async Task <ModelParameterIdentificationConfiguration> MapToModel(SnapshotParameterIdentificationConfiguration snapshot, ModelParameterIdentificationConfiguration parameterIdentificationConfiguration) { parameterIdentificationConfiguration.LLOQMode = LLOQModes.ByName(snapshot.LLOQMode); parameterIdentificationConfiguration.RemoveLLOQMode = RemoveLLOQModes.ByName(snapshot.RemoveLLOQMode); parameterIdentificationConfiguration.CalculateJacobian = snapshot.CalculateJacobian; parameterIdentificationConfiguration.AlgorithmProperties = await _parameterIdentificationAlgorithmMapper.MapToModel(snapshot.Algorithm); parameterIdentificationConfiguration.RunMode = await _parameterIdentificationRunModeMapper.MapToModel(snapshot.RunMode); return(parameterIdentificationConfiguration); }
public override object ConvertFrom(string attributeValue, TSerializationContext context) { return(LLOQModes.ByName(attributeValue)); }