// 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.Framework.Internal;
using Microsoft.Framework.Logging;
namespace Microsoft.AspNet.Mvc.Logging
{
///
/// Logging representation of a . Logged as a substructure of
///
///
public class RouteConstraintProviderValues : ReflectionBasedLogValues
{
public RouteConstraintProviderValues([NotNull] IRouteConstraintProvider inner)
{
RouteKey = inner.RouteKey;
RouteValue = inner.RouteValue;
RouteKeyHandling = inner.RouteKeyHandling;
BlockNonAttributedActions = inner.BlockNonAttributedActions;
}
///
/// The route value key. See .
///
public string RouteKey { get; }
///
/// The expected route value. See .
///
public string RouteValue { get; }
///
/// The . See .
///
public RouteKeyHandling RouteKeyHandling { get; }
///
/// See .
///
public bool BlockNonAttributedActions { get; }
}
}