// 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.Routing
{
///
/// Context object to be used for the URLs that generates.
///
public class UrlActionContext
{
///
/// The name of the action method that uses to generate URLs.
///
public string Action
{
get;
set;
}
///
/// The name of the controller that uses to generate URLs.
///
public string Controller
{
get;
set;
}
///
/// The object that contains the route parameters that
/// uses to generate 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;
}
}
}