// 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.AspNetCore.Routing { /// /// Defines a contract to generate a URL from a template. /// public abstract class LinkGenerationTemplate { /// /// Generates a URL with an absolute path from the specified route values. /// /// An object that contains route values. /// The generated URL. public string MakeUrl(object values) { return MakeUrl(values, options: null); } /// /// Generates a URL with an absolute path from the specified route values and link options. /// /// An object that contains route values. /// The . /// The generated URL. public abstract string MakeUrl(object values, LinkOptions options); } }