// 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 the state of a . Logged as a substructure of /// . /// public class RouteDataActionConstraintValues : ReflectionBasedLogValues { public RouteDataActionConstraintValues([NotNull] RouteDataActionConstraint inner) { RouteKey = inner.RouteKey; RouteValue = inner.RouteValue; KeyHandling = inner.KeyHandling; } /// /// The route key. See . /// public string RouteKey { get; } /// /// The route value. See . /// public string RouteValue { get; } /// /// The . See . /// public RouteKeyHandling KeyHandling { get; } public override string Format() { return LogFormatter.FormatLogValues(this); } } }