// 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.
namespace Microsoft.AspNet.Mvc
{
///
/// Context object to be used for the URLs that generates.
///
public class UrlRouteContext
{
///
/// The name of the route that uses to generate URLs.
///
public string RouteName
{
get;
set;
}
///
/// The object that contains the route values for the generated URLs.
///
public object Values
{
get;
set;
}
///
/// The protocol for the URLs that generates
/// such as "http" or "https"
///
public string Protocol
{
get;
set;
}
///
/// The host name for the URLs that generates.
///
public string Host
{
get;
set;
}
///
/// The fragment for the URLs that generates.
///
public string Fragment
{
get;
set;
}
}
}