GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoToolLinking Class / ImitatePort Method
the value of EndPort
the value of PickNearestPort
In This Topic
    ImitatePort Method
    In This Topic
    Change the endport's behavior for link routing to be like the given port iport.
    Syntax
    protected virtual void ImitatePort( 
       IGoPort endport,
       IGoPort iport
    )

    Parameters

    endport
    the value of EndPort
    iport
    the value of PickNearestPort
    Remarks
    This is just called by DoLinking in order to get the temporary Link to route in the way expected as if it really were being connected to iport. Remember that the endport might be either the "FromPort" or the "ToPort" of a link, depending on the direction the link is being drawn, as given by the value of Forwards.
    See Also