/// <summary> /// Connects this activity with the <see cref="Decision"/> received as parameter. /// </summary> /// <param name="node">The <see cref="Decision"/> to connect as successor of this activity.</param> public virtual void ConnectTo(Decision node) { Guard.NotNull(() => node, node); this.ConnectTo(new Node[] { node }); }
/// <summary> /// Connects this activity with the <see cref="Decision"/> received as parameter. /// </summary> /// <param name="node">The <see cref="Decision"/> to connect as successor of this activity.</param> public virtual void ConnectTo(Decision node) { Guard.NotNull(() => node, node); this.ConnectTo(new Node[] { node }); }