// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using Microsoft.AspNet.Routing;
using Microsoft.AspNet.Routing.Template;
namespace Microsoft.AspNet.Mvc.Routing
{
///
/// Used to build an . Represents an individual URL-generating route that will be
/// aggregated into the .
///
public class AttributeRouteLinkGenerationEntry
{
///
/// The .
///
public TemplateBinder Binder { get; set; }
///
/// The route constraints.
///
public IReadOnlyDictionary Constraints { get; set; }
///
/// The route defaults.
///
public IReadOnlyDictionary Defaults { get; set; }
///
/// The order of the template.
///
public int Order { get; set; }
///
/// The precedence of the template.
///
public decimal Precedence { get; set; }
///
/// The name of the route.
///
public string Name { get; set; }
///
/// The route group.
///
public string RouteGroup { get; set; }
///
/// The set of values that must be present for link genration.
///
public IDictionary RequiredLinkValues { get; set; }
///
/// The .
///
public RouteTemplate Template { get; set; }
///
/// The original representing the route template.
///
public string TemplateText { get; set; }
}
}