TemplateBinder Class¶
- Namespace
Microsoft.AspNetCore.Routing.Template
- Assemblies
- Microsoft.AspNetCore.Routing
Constructors¶
-
TemplateBinder
(System.Text.Encodings.Web.UrlEncoder, Microsoft.Extensions.ObjectPool.ObjectPool<Microsoft.AspNetCore.Routing.Internal.UriBuildingContext>, Microsoft.AspNetCore.Routing.Template.RouteTemplate, Microsoft.AspNetCore.Routing.RouteValueDictionary)¶ public TemplateBinder(UrlEncoder urlEncoder, ObjectPool<UriBuildingContext> pool, RouteTemplate template, RouteValueDictionary defaults)
-
Methods¶
-
BindValues
(Microsoft.AspNetCore.Routing.RouteValueDictionary)¶ Return type: System.String public string BindValues(RouteValueDictionary acceptedValues)
-
GetValues
(Microsoft.AspNetCore.Routing.RouteValueDictionary, Microsoft.AspNetCore.Routing.RouteValueDictionary)¶ Return type: Microsoft.AspNetCore.Routing.Template.TemplateValuesResult public TemplateValuesResult GetValues(RouteValueDictionary ambientValues, RouteValueDictionary values)
-
RoutePartsEqual
(System.Object, System.Object)¶ Compares two objects for equality as parts of a case-insensitive path.
Arguments: - a (System.Object) – An object to compare.
- b (System.Object) – An object to compare.
Return type: System.Boolean
Returns: True if the object are equal, otherwise false.
public static bool RoutePartsEqual(object a, object b)
-