HttpRouteDataExtensions Class

 

Removes all optional parameters that do not have a value from the route data.

Namespace:   System.Web.Http.Routing
Assembly:  System.Web.Http (in System.Web.Http.dll)

Inheritance Hierarchy

System.Object
  System.Web.Http.Routing.HttpRouteDataExtensions

Syntax

public static class HttpRouteDataExtensions
[ExtensionAttribute]
public ref class HttpRouteDataExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
type HttpRouteDataExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class HttpRouteDataExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static GetSubRoutes(IHttpRouteData)

If a route is really a union of other routes, return the set of sub routes.

System_CAPS_pubmethodSystem_CAPS_static RemoveOptionalRoutingParameters(IHttpRouteData)

Removes all optional parameters that do not have a value from the route data.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.Http.Routing Namespace

Return to top