private async Task <ExpressionContainer[]> expressionFor(IndividualMolecule molecule) { var expression = await _expressionContainerMapper.MapToSnapshots(molecule.AllExpressionsContainers()); return(expression?.ToArray()); }
private Task <ExpressionContainer[]> expressionFor(IndividualMolecule molecule, ModelIndividual individual) { var allExpressionContainers = individual.AllMoleculeContainersFor(molecule); return(_expressionContainerMapper.MapToSnapshots(allExpressionContainers)); }