public GraphNode <T> FindNode(T value) { var nodeFinder = new NodeFinder <T>(); return(NodeSet.Select(graphNode => nodeFinder.FindNode(graphNode, value)).FirstOrDefault(found => found != null)); }
public GraphNode <T> FindNode(NodeFinder <T> nodeFinder, T value) { return(nodeFinder.FindNode(this, value)); }