UniqueListTests FindAllPredicatesInUniqueList 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 FindAllPredicatesInUniqueList()
Examples

[Test]
public void FindAllPredicatesInUniqueList()
{
    var list = new UniqueList<int>() { 1, 4, 7, 5, 2, 6 };
    Predicate<int> pre = x => x == 1;
    var result = list.FindAll(pre);
    Assert.AreEqual(result.Count, 1);
}
See Also