| File: RestoreCommand\ResolverRequest.cs | Web Access |
| Project: src\nuget-client\src\NuGet.Core\NuGet.Commands\NuGet.Commands.csproj (NuGet.Commands) |
// 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. #nullable disable using System.Globalization; using NuGet.LibraryModel; namespace NuGet.Commands { public class ResolverRequest { public LibraryIdentity Requestor { get; } public LibraryRange Request { get; } public ResolverRequest(LibraryIdentity requestor, LibraryRange request) { Requestor = requestor; Request = request; } public override string ToString() { return string.Format(CultureInfo.CurrentCulture, Strings.ResolverRequest_ToStringFormat, Request.ToString(), Requestor.ToString()); } } }