Пример #1
0
 public static IReadOnlyCollection <ISqlNode> AllNodes(this ISqlNode root)
 {
     return(root.Find(n => true));
 }
Пример #2
0
 public static IEnumerable <T> FindOfType <T>(this ISqlNode root)
     where T : class, ISqlNode
 {
     return(root.Find(n => n is T).Cast <T>());
 }