Microsoft.AspNetCore.Routing.Template
10 wrapped types. Load them with using { "Microsoft.AspNetCore.Routing.Template" }. Click a class to open it.
InlineConstraint class
Microsoft.AspNetCore.Routing.Template.InlineConstraint · assembly Microsoft.AspNetCore.Routing
Constructors
new InlineConstraint(string constraint) |
new InlineConstraint(RoutePatternParameterPolicyReference other) |
Ring: new InlineConstraint(args) uses one constructor; the others are chosen by the parameter names: new InlineConstraint().@New([ :param = value ]) or dnNew("InlineConstraint",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Constraint | string | read | o.Constraint |
RoutePrecedence class static
Microsoft.AspNetCore.Routing.Template.RoutePrecedence · assembly Microsoft.AspNetCore.Routing
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ComputeInbound | callMethod("ComputeInbound",[p1]) | static decimal ComputeInbound(RouteTemplate template) |
ComputeOutbound | callMethod("ComputeOutbound",[p1]) | static decimal ComputeOutbound(RouteTemplate template) |
RouteTemplate class
Microsoft.AspNetCore.Routing.Template.RouteTemplate · assembly Microsoft.AspNetCore.Routing
Constructors
new RouteTemplate(RoutePattern other) |
new RouteTemplate(string template, List<TemplateSegment> segments) |
Ring: new RouteTemplate(args) uses one constructor; the others are chosen by the parameter names: new RouteTemplate().@New([ :param = value ]) or dnNew("RouteTemplate",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TemplateText | string | read | o.TemplateText |
Parameters | IList<TemplatePart> | read | o.Parameters |
Segments | IList<TemplateSegment> | read | o.Segments |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetParameter | callMethod("GetParameter",[p1]) | TemplatePart GetParameter(string name) |
GetSegment | callMethod("GetSegment",[p1]) | TemplateSegment GetSegment(int index) |
ToRoutePattern | callMethod("ToRoutePattern",[]) | RoutePattern ToRoutePattern() |
TemplateBinder class
Microsoft.AspNetCore.Routing.Template.TemplateBinder · assembly Microsoft.AspNetCore.Routing
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
BindValues | BindValues(p1) | string BindValues(RouteValueDictionary acceptedValues) |
GetValues | callMethod("GetValues",[p1,p2]) | TemplateValuesResult GetValues(RouteValueDictionary ambientValues, RouteValueDictionary values) |
RoutePartsEqual | RoutePartsEqual(p1,p2) | static bool RoutePartsEqual(object a, object b) |
TryProcessConstraints | TryProcessConstraints(p1,p2) | bool TryProcessConstraints(HttpContext httpContext, RouteValueDictionary combinedValues, out string parameterName, out IRouteConstraint constraint) |
TemplateBinderFactory class abstract
Microsoft.AspNetCore.Routing.Template.TemplateBinderFactory · assembly Microsoft.AspNetCore.Routing
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Create | Create(value)Create([ :pattern = … ])Create([ :template = …, :defaults = … ]) | TemplateBinder Create(RouteTemplate template, RouteValueDictionary defaults)TemplateBinder Create(RoutePattern pattern) |
TemplateMatcher class
Microsoft.AspNetCore.Routing.Template.TemplateMatcher · assembly Microsoft.AspNetCore.Routing
Constructors
new TemplateMatcher(RouteTemplate template, RouteValueDictionary defaults) |
Ring: new TemplateMatcher(args) uses one constructor; the others are chosen by the parameter names: new TemplateMatcher().@New([ :param = value ]) or dnNew("TemplateMatcher",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Defaults | RouteValueDictionary | read | o.Defaults |
Template | RouteTemplate | read | o.Template |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
TryMatch | TryMatch(p1,p2) | bool TryMatch(PathString path, RouteValueDictionary values) |
TemplateParser class static
Microsoft.AspNetCore.Routing.Template.TemplateParser · assembly Microsoft.AspNetCore.Routing
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Parse | Parse(p1) | static RouteTemplate Parse(string routeTemplate) |
TemplatePart class
Microsoft.AspNetCore.Routing.Template.TemplatePart · assembly Microsoft.AspNetCore.Routing
Constructors
new TemplatePart() |
new TemplatePart(RoutePatternPart other) |
Ring: new TemplatePart(args) uses one constructor; the others are chosen by the parameter names: new TemplatePart().@New([ :param = value ]) or dnNew("TemplatePart",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
IsCatchAll | bool | read | o.IsCatchAll |
IsLiteral | bool | read | o.IsLiteral |
IsParameter | bool | read | o.IsParameter |
IsOptional | bool | read | o.IsOptional |
IsOptionalSeperator | bool | read, write | o.IsOptionalSeperator o.IsOptionalSeperator = v |
Name | string | read | o.Name |
Text | string | read | o.Text |
DefaultValue | object | read | o.DefaultValue |
InlineConstraints | IEnumerable<InlineConstraint> | read | o.InlineConstraints |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CreateLiteral | CreateLiteral(p1) | static TemplatePart CreateLiteral(string text) |
CreateParameter | CreateParameter(p1,p2,p3,p4,p5) | static TemplatePart CreateParameter(string name, bool isCatchAll, bool isOptional, object defaultValue, IEnumerable<InlineConstraint> inlineConstraints) |
ToRoutePatternPart | callMethod("ToRoutePatternPart",[]) | RoutePatternPart ToRoutePatternPart() |
TemplateSegment class
Microsoft.AspNetCore.Routing.Template.TemplateSegment · assembly Microsoft.AspNetCore.Routing
Constructors
new TemplateSegment() |
new TemplateSegment(RoutePatternPathSegment other) |
Ring: new TemplateSegment(args) uses one constructor; the others are chosen by the parameter names: new TemplateSegment().@New([ :param = value ]) or dnNew("TemplateSegment",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
IsSimple | bool | read | o.IsSimple |
Parts | List<TemplatePart> | read | o.Parts |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ToRoutePatternPathSegment | callMethod("ToRoutePatternPathSegment",[]) | RoutePatternPathSegment ToRoutePatternPathSegment() |
TemplateValuesResult class
Microsoft.AspNetCore.Routing.Template.TemplateValuesResult · assembly Microsoft.AspNetCore.Routing
Constructors
new TemplateValuesResult() |
Ring: new TemplateValuesResult(args) uses one constructor; the others are chosen by the parameter names: new TemplateValuesResult().@New([ :param = value ]) or dnNew("TemplateValuesResult",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
AcceptedValues | RouteValueDictionary | read, write | o.AcceptedValues o.AcceptedValues = v |
CombinedValues | RouteValueDictionary | read, write | o.CombinedValues o.CombinedValues = v |