示例#1
0
 public IEnumerable <Token> FindTokens()
 {
     return(DescendantsAndSelf.Where(c => c.HasToken).Select(c => c.Token));
 }
示例#2
0
 public IEnumerable <Construct> FindAll(string category, params string[] subcategories)
 {
     return(DescendantsAndSelf.Where(c => c.Is(category, subcategories)));
 }