public void Build( BuilderContext context, IControl control ) { var laneBlock = ( RoadLaneBlock ) control; this._lane = new Lane( laneBlock, l => new LaneRoadInforamtion( l ) ); context.AddElement( laneBlock, this._lane ); }
public LaneRoadInforamtion( Lane lane ) { Contract.Requires( lane != null ); this._lane = lane; }