Table of Contents

Method RemoveRange

Namespace
GuildWars2.Collections
Assembly
GuildWars2.dll

RemoveRange(IEnumerable<T>, IEqualityComparer<T>?)

Creates a new ImmutableValueList<T> with the specified items removed.

public ImmutableValueList<T> RemoveRange(IEnumerable<T> items, IEqualityComparer<T>? equalityComparer)

Parameters

items IEnumerable<T>

The items to remove from the list.

equalityComparer IEqualityComparer<T>

The equality comparer to use to locate the items, or null to use the default comparer.

Returns

ImmutableValueList<T>

A new list with the items removed.

RemoveRange(int, int)

Creates a new ImmutableValueList<T> with a range of elements removed.

public ImmutableValueList<T> RemoveRange(int index, int count)

Parameters

index int

The zero-based starting index of the range of elements to remove.

count int

The number of elements to remove.

Returns

ImmutableValueList<T>

A new list with the elements removed.