RingDotNetfor Ring

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

NameTypeAccessIn Ring
Constraintstringreado.Constraint
RoutePrecedence class static

Microsoft.AspNetCore.Routing.Template.RoutePrecedence · assembly Microsoft.AspNetCore.Routing

Methods

MethodRing call.NET overloads
ComputeInboundcallMethod("ComputeInbound",[p1])static decimal ComputeInbound(RouteTemplate template)
ComputeOutboundcallMethod("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

NameTypeAccessIn Ring
TemplateTextstringreado.TemplateText
ParametersIList<TemplatePart>reado.Parameters
SegmentsIList<TemplateSegment>reado.Segments

Methods

MethodRing call.NET overloads
GetParametercallMethod("GetParameter",[p1])TemplatePart GetParameter(string name)
GetSegmentcallMethod("GetSegment",[p1])TemplateSegment GetSegment(int index)
ToRoutePatterncallMethod("ToRoutePattern",[])RoutePattern ToRoutePattern()
TemplateBinder class

Microsoft.AspNetCore.Routing.Template.TemplateBinder · assembly Microsoft.AspNetCore.Routing

Methods

MethodRing call.NET overloads
BindValuesBindValues(p1)string BindValues(RouteValueDictionary acceptedValues)
GetValuescallMethod("GetValues",[p1,p2])TemplateValuesResult GetValues(RouteValueDictionary ambientValues, RouteValueDictionary values)
RoutePartsEqualRoutePartsEqual(p1,p2)static bool RoutePartsEqual(object a, object b)
TryProcessConstraintsTryProcessConstraints(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

MethodRing call.NET overloads
CreateCreate(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

NameTypeAccessIn Ring
DefaultsRouteValueDictionaryreado.Defaults
TemplateRouteTemplatereado.Template

Methods

MethodRing call.NET overloads
TryMatchTryMatch(p1,p2)bool TryMatch(PathString path, RouteValueDictionary values)
TemplateParser class static

Microsoft.AspNetCore.Routing.Template.TemplateParser · assembly Microsoft.AspNetCore.Routing

Methods

MethodRing call.NET overloads
ParseParse(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

NameTypeAccessIn Ring
IsCatchAllboolreado.IsCatchAll
IsLiteralboolreado.IsLiteral
IsParameterboolreado.IsParameter
IsOptionalboolreado.IsOptional
IsOptionalSeperatorboolread, writeo.IsOptionalSeperator o.IsOptionalSeperator = v
Namestringreado.Name
Textstringreado.Text
DefaultValueobjectreado.DefaultValue
InlineConstraintsIEnumerable<InlineConstraint>reado.InlineConstraints

Methods

MethodRing call.NET overloads
CreateLiteralCreateLiteral(p1)static TemplatePart CreateLiteral(string text)
CreateParameterCreateParameter(p1,p2,p3,p4,p5)static TemplatePart CreateParameter(string name, bool isCatchAll, bool isOptional, object defaultValue, IEnumerable<InlineConstraint> inlineConstraints)
ToRoutePatternPartcallMethod("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

NameTypeAccessIn Ring
IsSimpleboolreado.IsSimple
PartsList<TemplatePart>reado.Parts

Methods

MethodRing call.NET overloads
ToRoutePatternPathSegmentcallMethod("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

NameTypeAccessIn Ring
AcceptedValuesRouteValueDictionaryread, writeo.AcceptedValues o.AcceptedValues = v
CombinedValuesRouteValueDictionaryread, writeo.CombinedValues o.CombinedValues = v