public void Connect( BuilderContext builderContext )
 {
     this._junctionEdge.Junction = builderContext.GetObject<LaneJunction>( this._junctionEdge.EdgeBuilder.Connector.JunctionEdge.Parent );
     if ( this._junctionEdge.EdgeBuilder.Connector.Edge != null )
     {
         this._junctionEdge.Next = builderContext.GetObject<IRoadElement>( this._junctionEdge.EdgeBuilder.Connector.Edge.Parent );
     }
 }
 public void Connect( BuilderContext builderContext )
 {
     var connectedLane = this._carsRemover.CarsRemoverBuilder.Connector.OpositeEdge;
     if ( connectedLane == null )
     {
         return;
     }
     this._carsRemover.Lane = builderContext.GetObject<Lane>( connectedLane.Parent );
 }
 public void Connect( BuilderContext builderContext )
 {
     this._lane.Prev = builderContext.GetObject<IRoadElement>( this._lane.RoadLaneBlock.LeftEdge.Connector.PreviousEdge.Parent );
     this._lane.Next = builderContext.GetObject<IRoadElement>( this._lane.RoadLaneBlock.RightEdge.Connector.NextEdge.Parent );
 }
 private IRoadElement GetRoadElement( BuilderContext context, IControl control )
 {
     return context.GetObject<IRoadElement>( control );
 }
 public void Connect( BuilderContext builderContext )
 {
     this._lane.Prev = builderContext.GetObject<Lane>( this._lane.LaneCornerBuild.Connector.OpositeToPreviousEdge.Parent );
     this._lane.Next = builderContext.GetObject<Lane>( this._lane.LaneCornerBuild.Connector.OpositeToNextEdge.Parent );
 }