UniqueListTests RemoveAllMatchedItemsInUniqueList Method Delta Engine Documentation

Namespace: DeltaEngine.Tests.Extensions
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void RemoveAllMatchedItemsInUniqueList()
Examples

[Test]
public void RemoveAllMatchedItemsInUniqueList()
{
    var list = new UniqueList<int>() { 3, 6, 9, 8, 4, 1, 2 };
    Predicate<int> pre = x => x == 3;
    list.RemoveAll(pre);
    Assert.AreEqual(list.Count, 6);
}
See Also