public void SetTools(List <string> tools) { foreach (string item in tools) { ProcessEntity selectedTool = m_project.ProcessEntities.FirstOrDefault(x => x.Name == item); if (m_project.ProcessEntities.FirstOrDefault(x => x.Name == item) != null) { Tools.Items.Add(m_project.ProcessEntities.FirstOrDefault(x => x.Name == item)); } } }
public void SetOutputsUpdated(List <string> ouputs) { foreach (string item in ouputs) { ProcessEntity selectedTool = m_project.ProcessEntities.FirstOrDefault(x => x.Name == item); if (m_project.ProcessEntities.FirstOrDefault(x => x.Name == item) != null) { OutputsUpdated.Items.Add(m_project.ProcessEntities.FirstOrDefault(x => x.Name == item)); } } }