/// <summary> /// Initializes a new instance of the <see cref="ODataRoute"/> class. /// </summary> /// <param name="target">The target router.</param> /// <param name="routeName">The route name.</param> /// <param name="routePrefix">The route prefix.</param> /// <param name="routeConstraint">The OData route constraint.</param> /// <param name="resolver">The inline constraint resolver.</param> /// <remarks>This signature uses types that are AspNetCore-specific.</remarks> public ODataRoute(IRouter target, string routeName, string routePrefix, ODataPathRouteConstraint routeConstraint, IInlineConstraintResolver resolver) : this(target, routeName, routePrefix, (IRouteConstraint)routeConstraint, resolver) { }
/// <summary> /// Initializes a new instance of the <see cref="ODataRoute"/> class. /// </summary> /// <param name="routePrefix">The route prefix.</param> /// <param name="pathConstraint">The OData path constraint.</param> public ODataRoute(string routePrefix, ODataPathRouteConstraint pathConstraint) : this( routePrefix, (IHttpRouteConstraint)pathConstraint, defaults : null, constraints : null, dataTokens : null, handler : null) { }