| File: Remote\RemoteMatch.cs | Web Access |
| Project: src\nuget-client\src\NuGet.Core\NuGet.DependencyResolver.Core\NuGet.DependencyResolver.Core.csproj (NuGet.DependencyResolver.Core) |
// 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; using NuGet.LibraryModel; namespace NuGet.DependencyResolver { public class RemoteMatch : IEquatable<RemoteMatch> { public IRemoteDependencyProvider Provider { get; set; } public LibraryIdentity Library { get; set; } public string Path { get; set; } public override bool Equals(object obj) { return Equals(obj as RemoteMatch); } public bool Equals(RemoteMatch other) { return other != null && Library.Equals(other.Library); } public override int GetHashCode() { return Library.GetHashCode(); } } }