public void AddIntentNodesToElements(ElementIntents elementIntents) { foreach (KeyValuePair <Guid, IIntentNode[]> elementIntent in elementIntents) { AddIntentNodeToElement(elementIntent.Key, elementIntent.Value); } }
public void AddIntentNodesToElements(ElementIntents elementIntents) { elementIntents.ElementIds.ToList().ForEach(elementId => { IIntentNode[] intentNodes = elementIntents[elementId]; AddIntentNodeToElement(elementId, intentNodes); }); }
public void AddIntentNodesToElements(ElementIntents elementIntents) { foreach (Guid elementId in elementIntents.ElementIds) { IIntentNode[] intentNodes = elementIntents[elementId]; AddIntentNodeToElement(elementId, intentNodes); } }