Table of Contents

Class NuGetReferenceList

Namespace
BenchmarkDotNet.Jobs
Assembly
BenchmarkDotNet.dll

An ordered list of NuGet references. Does not allow duplicate references with the same PackageName.

public class NuGetReferenceList : IReadOnlyCollection<NuGetReference>, IEnumerable<NuGetReference>, IEnumerable
Inheritance
NuGetReferenceList
Implements
Extension Methods

Constructors

NuGetReferenceList()

public NuGetReferenceList()

NuGetReferenceList(IReadOnlyCollection<NuGetReference>)

public NuGetReferenceList(IReadOnlyCollection<NuGetReference> readOnlyCollection)

Parameters

readOnlyCollection IReadOnlyCollection<NuGetReference>

Properties

Count

public int Count { get; }

Property Value

int

Methods

Add(NuGetReference)

public void Add(NuGetReference reference)

Parameters

reference NuGetReference

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetEnumerator()

public IEnumerator<NuGetReference> GetEnumerator()

Returns

IEnumerator<NuGetReference>

GetHashCode()

public override int GetHashCode()

Returns

int