public static IReadOnlyCollection <string> ListXPaths <T>(this Include <T> include) { if (include == null) { return new List <string> { "/" } } ; var rootNode = include.CreateChainNode(); var @paths = ChainNodeTree.ListXPaths(rootNode); return(@paths); }
public static IReadOnlyCollection <string> ListXPaths(this ChainNode node) { return(ChainNodeTree.ListXPaths(node)); }