public SyntaxNodeTags(List <Tuple <int, int> > tags) { tags.ForEach(t => { CategoryIndices.Add(t.Item1); TagIndices.Add(t.Item2); }); }
public List <Tuple <int, int> > ToNodeInfoTags() { return(CategoryIndices .Zip(TagIndices, (category, tag) => new Tuple <int, int>(category, tag)) .ToList()); }