private void NoteLinks(IList <ExtractedVariable> links, ExtractedVariable v) { foreach (var link in v.Links) { if (!links.Contains(link)) { links.Add(link); NoteLinks(links, link); } } }
public void ConvertVarNameToLink(ExtractedVariable variable) { var name = "{" + variable.Name + "}"; if (!Values.Contains(name)) { return; } Links.Add(variable); m_Values.RemoveAll(x => x == name); }