private bool LoadProductComponents(XmlNodeList inputNodes, ProductMix productMix)
{
List<Ingredient> components = new List<Ingredient>();
foreach (XmlNode productRelationNode in inputNodes)
{
var component = LoadProductRelation(productRelationNode, productMix);
if (component == null)
return false;
components.Add(component);
}
_taskDocument.Ingredients.AddRange(components);
return true;
}