DefaultConnectionBehaviorCreateConnection Method |
Create a connection between two
RouteProcedures based on the
current settings for the connection behavior.
Namespace:
AGI.Foundation.RouteDesign
Assembly:
AGI.Foundation.RouteDesign (in AGI.Foundation.RouteDesign.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public RouteConnection CreateConnection(
RouteProcedure previousProcedure,
RouteProcedure nextProcedure
)
Public Function CreateConnection (
previousProcedure As RouteProcedure,
nextProcedure As RouteProcedure
) As RouteConnection
public:
RouteConnection^ CreateConnection(
RouteProcedure^ previousProcedure,
RouteProcedure^ nextProcedure
)
member CreateConnection :
previousProcedure : RouteProcedure *
nextProcedure : RouteProcedure -> RouteConnection
Parameters
- previousProcedure
- Type: AGI.Foundation.RouteDesignRouteProcedure
The previous procedure providing initial conditions for the connection. - nextProcedure
- Type: AGI.Foundation.RouteDesignRouteProcedure
The next procedure providing final conditions for the connection.
Return Value
Type:
RouteConnectionA new instance of a connection to insert between the two
RouteProcedures.
See Also