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
itemsIEnumerable<T>The items to remove from the list.
equalityComparerIEqualityComparer<T>The equality comparer to use to locate the items, or
nullto 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
indexintThe zero-based starting index of the range of elements to remove.
countintThe number of elements to remove.
Returns
- ImmutableValueList<T>
A new list with the elements removed.