Share via


TemplateBinder Class

Definition

Supports processing and binding parameter values in a route template.

public ref class TemplateBinder
public class TemplateBinder
type TemplateBinder = class
Public Class TemplateBinder
Inheritance
TemplateBinder

Constructors

TemplateBinder(UrlEncoder, ObjectPool<UriBuildingContext>, RoutePattern, RouteValueDictionary, IEnumerable<String>, IEnumerable<ValueTuple<String, IParameterPolicy>>)

Creates a new instance of TemplateBinder.

TemplateBinder(UrlEncoder, ObjectPool<UriBuildingContext>, RouteTemplate, RouteValueDictionary)

Creates a new instance of TemplateBinder.

Methods

BindValues(RouteValueDictionary)

Returns a string representation of the URI associated with the route.

GetValues(RouteValueDictionary, RouteValueDictionary)

Generates the parameter values in the route.

RoutePartsEqual(Object, Object)

Compares two objects for equality as parts of a case-insensitive path.

TryProcessConstraints(HttpContext, RouteValueDictionary, String, IRouteConstraint)

Processes the constraints if they were passed in to the TemplateBinder constructor.

Applies to