Table of Contents

Class CollectionExtensions

Namespace
NuGet.Packaging
Assembly
Chocolatey.NuGet.Packaging.dll
public static class CollectionExtensions
Inheritance
CollectionExtensions
Inherited Members

Methods

AddRange<T>(ICollection<T>, IEnumerable<T>)

public static void AddRange<T>(this ICollection<T> collection, IEnumerable<T> items)

Parameters

collection ICollection<T>
items IEnumerable<T>

Type Parameters

T

RemoveAll<T>(ICollection<T>, Func<T, bool>)

public static int RemoveAll<T>(this ICollection<T> collection, Func<T, bool> match)

Parameters

collection ICollection<T>
match Func<T, bool>

Returns

int

Type Parameters

T