public static IEnumerable <ClrGraphNode> CreateForChildren(ClrObject startObject) { var instance = new ClrGraph(); var firstNode = new ClrGraphNode(instance, startObject); instance.StartObject = firstNode; return(firstNode.Children); }
public static ClrGraphNode CreateForSelf(ClrObject startObject) { var instance = new ClrGraph(); var firstNode = new ClrGraphNode(instance, startObject); instance.StartObject = firstNode; return(firstNode); }