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>
An ordered list of NuGet references. Does not allow duplicate references with the same PackageName.

Properties

Count

public int Count { get; }

Property Value

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

Methods

Add(NuGetReference)

public void Add(NuGetReference reference)

Parameters

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

Equals(object)

public override bool Equals(object obj)

Parameters

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

Returns

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

GetEnumerator()

public IEnumerator<NuGetReference> GetEnumerator()

Returns

IEnumerator<NuGetReference>
An ordered list of NuGet references. Does not allow duplicate references with the same PackageName.

GetHashCode()

public override int GetHashCode()

Returns

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