Class NuGetReference
- Namespace
- BenchmarkDotNet.Jobs
- Assembly
- BenchmarkDotNet.dll
public class NuGetReference : IEquatable<NuGetReference>
- Inheritance
-
NuGetReference
- Implements
Constructors
NuGetReference(string, string, Uri?, bool)
public NuGetReference(string packageName, string packageVersion, Uri? source = null, bool prerelease = false)
Parameters
Properties
PackageName
public string PackageName { get; }
Property Value
PackageSource
public Uri PackageSource { get; }
Property Value
- Uri
PackageVersion
public string PackageVersion { get; }
Property Value
Prerelease
public bool Prerelease { get; }
Property Value
Methods
Equals(NuGetReference)
Object is equals when the package name and version are the same
public bool Equals(NuGetReference other)
Parameters
other
NuGetReference
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()