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

[Test]
public void FindPredicateInUniqueList()
{
    var list = new UniqueList<int>() { 7, 5, 3, 9, 1, 4 };
    Predicate<int> pre = x => x == 4;
    Assert.AreEqual(list.Find(pre), 4);
}
See Also