// 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. using System.Collections.Generic; using Microsoft.AspNetCore.Http; namespace Microsoft.AspNetCore.Routing { public class LinkGeneratorContext { public HttpContext HttpContext { get; set; } public IEnumerable Endpoints { get; set; } public RouteValueDictionary ExplicitValues { get; set; } public RouteValueDictionary AmbientValues { get; set; } /// /// Gets or sets a value indicating whether all generated paths URLs are lower-case. /// Use to configure the behavior for query strings. /// public bool? LowercaseUrls { get; set; } /// /// Gets or sets a value indicating whether a generated query strings are lower-case. /// This property will be unless is also true. /// public bool? LowercaseQueryStrings { get; set; } /// /// Gets or sets a value indicating whether a trailing slash should be appended to the generated URLs. /// public bool? AppendTrailingSlash { get; set; } } }