AttributeRouteLinkGenerationEntry Class

Summary

Used to build an [Microsoft.AspNet.Mvc.Routing.InnerAttributeRoute](Microsoft.AspNet.Mvc.Routing.InnerAttributeRoute.yml). Represents an individual URL-generating route that will be aggregated into the [Microsoft.AspNet.Mvc.Routing.InnerAttributeRoute](Microsoft.AspNet.Mvc.Routing.InnerAttributeRoute.yml).

Syntax

public class AttributeRouteLinkGenerationEntry

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.Routing.AttributeRouteLinkGenerationEntry

Properties

Binder()

The @!:TemplateBinder-.

Return type:TemplateBinder
public TemplateBinder Binder { get; set; }
Constraints()

The route constraints.

Return type:System.Collections.Generic.IReadOnlyDictionary{System.String,IRouteConstraint}
public IReadOnlyDictionary<string, IRouteConstraint> Constraints { get; set; }
Defaults()

The route defaults.

Return type:System.Collections.Generic.IReadOnlyDictionary{System.String,System.Object}
public IReadOnlyDictionary<string, object> Defaults { get; set; }
Name()

The name of the route.

Return type:System.String
public string Name { get; set; }
Order()

The order of the template.

Return type:System.Int32
public int Order { get; set; }
Precedence()

The precedence of the template.

Return type:System.Decimal
public decimal Precedence { get; set; }
RequiredLinkValues()

The set of values that must be present for link genration.

Return type:System.Collections.Generic.IDictionary{System.String,System.Object}
public IDictionary<string, object> RequiredLinkValues { get; set; }
RouteGroup()

The route group.

Return type:System.String
public string RouteGroup { get; set; }
Template()

The [Microsoft.AspNet.Mvc.Routing.AttributeRouteLinkGenerationEntry.Template](Microsoft.AspNet.Mvc.Routing.AttributeRouteLinkGenerationEntry.yml).

Return type:RouteTemplate
public RouteTemplate Template { get; set; }
TemplateText()

The original [System.String]() representing the route template.

Return type:System.String
public string TemplateText { get; set; }