GitHubDashboard/FDG/Node.cs
/// <summary>
/// Connects the specified child node to this node.
/// </summary>
/// <param name="child">The child node to add.</param>
/// <returns>True if the node was connected to this node.</returns>
Connects the specified child node to this node.
Connects the specified child node to this node .
public bool AddChild(Node child)
		{
			if (child == null) throw new ArgumentNullException("child");
			if ((child != this) && !this.mConnections.Contains(child))
			{
				child.Diagram = this.Diagram;
				this.mConnections.Add(child);
				return true;
			}
			else
			{
				return false;
			}
		}
public bool AddChild ( Node child ) { if ( child == null ) throw new ArgumentNullException ( " " ) ; if ( ( child != this ) && ! this . mConnections . Contains ( child ) ) { child . Diagram = this . Diagram ; this . mConnections . Add ( child ) ; return true ; } else { return false ; } }
Connects the specified child node to this node.
Connects the specified child node to this node .
True if the node was connected to this node.
True if the node was connected to this node .
child
Node
The child node to add.
The child node to add .