Microsoft.AspNetCore.Mvc.Routing
14 wrapped types. Load them with using { "Microsoft.AspNetCore.Mvc.Routing" }. Click a class to open it.
AttributeRouteInfo class
Microsoft.AspNetCore.Mvc.Routing.AttributeRouteInfo · assembly Microsoft.AspNetCore.Mvc.Abstractions
Constructors
new AttributeRouteInfo() |
Ring: new AttributeRouteInfo(args) uses one constructor; the others are chosen by the parameter names: new AttributeRouteInfo().@New([ :param = value ]) or dnNew("AttributeRouteInfo",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Template | string | read, write | o.Template o.Template = v |
Order | int | read, write | o.Order o.Order = v |
Name | string | read, write | o.Name o.Name = v |
SuppressLinkGeneration | bool | read, write | o.SuppressLinkGeneration o.SuppressLinkGeneration = v |
SuppressPathMatching | bool | read, write | o.SuppressPathMatching o.SuppressPathMatching = v |
DynamicRouteValueTransformer class abstract
Microsoft.AspNetCore.Mvc.Routing.DynamicRouteValueTransformer · assembly Microsoft.AspNetCore.Mvc.Core
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
State | object | read, write | o.State o.State = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
FilterAsync | callMethod("FilterAsync",[p1,p2,p3]) | ValueTask<IReadOnlyList<Endpoint>> FilterAsync(HttpContext httpContext, RouteValueDictionary values, IReadOnlyList<Endpoint> endpoints) |
TransformAsync | callMethod("TransformAsync",[p1,p2]) | ValueTask<RouteValueDictionary> TransformAsync(HttpContext httpContext, RouteValueDictionary values) |
HttpMethodAttribute class abstract · extends Attribute
Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute · assembly Microsoft.AspNetCore.Mvc.Core
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
HttpMethods | IEnumerable<string> | read | o.HttpMethods |
Template | string | read | o.Template |
Order | int | read, write | o.Order o.Order = v |
Name | string | read, write | o.Name o.Name = v |
Members of the base class are inherited.
IActionHttpMethodProvider interface
Microsoft.AspNetCore.Mvc.Routing.IActionHttpMethodProvider · assembly Microsoft.AspNetCore.Mvc.Core
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
HttpMethods | IEnumerable<string> | read | o.HttpMethods |
IRouteTemplateProvider interface
Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider · assembly Microsoft.AspNetCore.Mvc.Core
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Template | string | read | o.Template |
Order | int? | read | o.Order |
Name | string | read | o.Name |
IRouteValueProvider interface
Microsoft.AspNetCore.Mvc.Routing.IRouteValueProvider · assembly Microsoft.AspNetCore.Mvc.Core
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
RouteKey | string | read | o.RouteKey |
RouteValue | string | read | o.RouteValue |
IUrlHelperFactory interface
Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory · assembly Microsoft.AspNetCore.Mvc.Core
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetUrlHelper | callMethod("GetUrlHelper",[p1]) | IUrlHelper GetUrlHelper(ActionContext context) |
KnownRouteValueConstraint class
Microsoft.AspNetCore.Mvc.Routing.KnownRouteValueConstraint · assembly Microsoft.AspNetCore.Mvc.Core
Constructors
new KnownRouteValueConstraint(IActionDescriptorCollectionProvider actionDescriptorCollectionProvider) |
Ring: new KnownRouteValueConstraint(args) uses one constructor; the others are chosen by the parameter names: new KnownRouteValueConstraint().@New([ :param = value ]) or dnNew("KnownRouteValueConstraint",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Match | Match(p1,p2,p3,p4,p5) | bool Match(HttpContext httpContext, IRouter route, string routeKey, RouteValueDictionary values, RouteDirection routeDirection) |
RouteValueAttribute class abstract · extends Attribute
Microsoft.AspNetCore.Mvc.Routing.RouteValueAttribute · assembly Microsoft.AspNetCore.Mvc.Core
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
RouteKey | string | read | o.RouteKey |
RouteValue | string | read | o.RouteValue |
Members of the base class are inherited.
UrlActionContext class
Microsoft.AspNetCore.Mvc.Routing.UrlActionContext · assembly Microsoft.AspNetCore.Mvc.Abstractions
Constructors
new UrlActionContext() |
Ring: new UrlActionContext(args) uses one constructor; the others are chosen by the parameter names: new UrlActionContext().@New([ :param = value ]) or dnNew("UrlActionContext",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Action | string | read, write | o.Action o.Action = v |
Controller | string | read, write | o.Controller o.Controller = v |
Values | object | read, write | o.Values o.Values = v |
Protocol | string | read, write | o.Protocol o.Protocol = v |
Host | string | read, write | o.Host o.Host = v |
Fragment | string | read, write | o.Fragment o.Fragment = v |
UrlHelper class · extends UrlHelperBase
Microsoft.AspNetCore.Mvc.Routing.UrlHelper · assembly Microsoft.AspNetCore.Mvc.Core
Constructors
new UrlHelper(ActionContext actionContext) |
Ring: new UrlHelper(args) uses one constructor; the others are chosen by the parameter names: new UrlHelper().@New([ :param = value ]) or dnNew("UrlHelper",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Action | Action(p1) | string Action(UrlActionContext actionContext) |
RouteUrl | RouteUrl(p1) | string RouteUrl(UrlRouteContext routeContext) |
Members of the base class are inherited.
UrlHelperBase class abstract
Microsoft.AspNetCore.Mvc.Routing.UrlHelperBase · assembly Microsoft.AspNetCore.Mvc.Core
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ActionContext | ActionContext | read | o.ActionContext |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Action | Action(p1) | string Action(UrlActionContext actionContext) |
Content | callMethod("Content",[p1]) | string Content(string contentPath) |
IsLocalUrl | callMethod("IsLocalUrl",[p1]) | bool IsLocalUrl(string url) |
Link | Link(p1,p2) | string Link(string routeName, object values) |
RouteUrl | RouteUrl(p1) | string RouteUrl(UrlRouteContext routeContext) |
UrlHelperFactory class
Microsoft.AspNetCore.Mvc.Routing.UrlHelperFactory · assembly Microsoft.AspNetCore.Mvc.Core
Constructors
new UrlHelperFactory() |
Ring: new UrlHelperFactory(args) uses one constructor; the others are chosen by the parameter names: new UrlHelperFactory().@New([ :param = value ]) or dnNew("UrlHelperFactory",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetUrlHelper | callMethod("GetUrlHelper",[p1]) | IUrlHelper GetUrlHelper(ActionContext context) |
UrlRouteContext class
Microsoft.AspNetCore.Mvc.Routing.UrlRouteContext · assembly Microsoft.AspNetCore.Mvc.Abstractions
Constructors
new UrlRouteContext() |
Ring: new UrlRouteContext(args) uses one constructor; the others are chosen by the parameter names: new UrlRouteContext().@New([ :param = value ]) or dnNew("UrlRouteContext",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
RouteName | string | read, write | o.RouteName o.RouteName = v |
Values | object | read, write | o.Values o.Values = v |
Protocol | string | read, write | o.Protocol o.Protocol = v |
Host | string | read, write | o.Host o.Host = v |
Fragment | string | read, write | o.Fragment o.Fragment = v |