private IEnumerable<ApiNode> SelectMany([NotNull] string xpath) { var nodes = node.SelectNodes(XPath.Resolve(xpath)); return nodes?.Select(Wrap) ?? new ApiNode[ 0 ]; }
private static ApiNode[] PickExample([NotNull] ApiNode details, [NotNull] string type) { return(details.SelectMany($@"div.subsection/pre.codeExample{type}")); }