Show / Hide Table of Contents

Class NuGetReferenceList

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

Inheritance
Object
NuGetReferenceList
Implements
IReadOnlyCollection<NuGetReference>
IEnumerable<NuGetReference>
IEnumerable
Namespace: BenchmarkDotNet.Jobs
Assembly: BenchmarkDotNet.dll
Syntax
public class NuGetReferenceList : IReadOnlyCollection<NuGetReference>, IEnumerable<NuGetReference>, IEnumerable

Constructors

NuGetReferenceList()

Declaration
public NuGetReferenceList()

NuGetReferenceList(IReadOnlyCollection<NuGetReference>)

Declaration
public NuGetReferenceList(IReadOnlyCollection<NuGetReference> readOnlyCollection)
Parameters
Type Name Description
IReadOnlyCollection<NuGetReference> readOnlyCollection

Properties

Count

Declaration
public int Count { get; }
Property Value
Type Description
Int32

Methods

Add(NuGetReference)

Declaration
public void Add(NuGetReference reference)
Parameters
Type Name Description
NuGetReference reference

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj
Returns
Type Description
Boolean
Overrides
Object.Equals(Object)

GetEnumerator()

Declaration
public IEnumerator<NuGetReference> GetEnumerator()
Returns
Type Description
IEnumerator<NuGetReference>

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
Int32
Overrides
Object.GetHashCode()

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type Description
IEnumerator

Implements

System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable

Extension Methods

ConsumerExtensions.Consume(IEnumerable, Consumer)
ConsumerExtensions.Consume<T>(IEnumerable<T>, Consumer)
In This Article
Back to top Copyright © 2013–2021 .NET Foundation and contributors