// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNet.Mvc.Routing;
using Microsoft.Framework.Logging;
namespace Microsoft.AspNet.Mvc.Logging
{
///
/// Logging representation of the state of a . Logged as a substructure of
/// .
///
public class AttributeRouteInfoValues : ReflectionBasedLogValues
{
public AttributeRouteInfoValues(AttributeRouteInfo inner)
{
Template = inner?.Template;
Order = inner?.Order;
Name = inner?.Name;
}
///
/// The route template. See .
///
public string Template { get; }
///
/// The order of the route. See .
///
public int? Order { get; }
///
/// The name of the route. See .
///
public string Name { get; }
}
}