Class RoutingHttpContextExtensions
Provides convenient extensions to access route arguments.
Inheritance
System.Object
RoutingHttpContextExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Stubbery.RequestMatching
Assembly: Stubbery.dll
Syntax
public static class RoutingHttpContextExtensions
Methods
| Improve this Doc View SourceGetRouteValues(HttpContext)
Returns the route arguments extracted during matching a Stubbery.RequestMatching.Preconditions.RouteCondition.
Declaration
public static RouteValueDictionary GetRouteValues(this HttpContext httpContext)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Http.HttpContext | httpContext | The HTTP context to extract the arguments from. |
Returns
Type | Description |
---|---|
Microsoft.AspNetCore.Routing.RouteValueDictionary | The extracted route arguments. |