public VersionAwareODataPathRouteConstraint(VersionAwareODataPathHandler pathHandler, IEdmModel model, string routeName, IEnumerable<IODataRoutingConvention> routingConventions)
     : base(pathHandler, model, routeName, routingConventions)
 {
     VersionAwarePathHandler = pathHandler;
 }
 public static void MapVersionedODataRoute(this HttpRouteCollection routes, string routeName, string routePrefix, IEdmModel model, VersionAwareODataPathHandler pathHandler, IEnumerable<IODataRoutingConvention> routingConvetions)
 {
     var constraint = new VersionAwareODataPathRouteConstraint(pathHandler, model, routeName, routingConvetions);
     routes.Add(routeName, new ODataRoute(routePrefix, constraint));
 }