Delegate BinaryPredicate<T>
The BinaryPredicate delegate type encapsulates a method that takes two items of the same type, and returns a boolean value representating some relationship between them. For example, checking whether two items are equal or equivalent is one kind of binary predicate.
Namespace: Wintellect.PowerCollections
Assembly: CADability.dll
Syntax
public delegate bool BinaryPredicate<T>(T item1, T item2);
Parameters
| Type | Name | Description |
|---|---|---|
| T | item1 | The first item. |
| T | item2 | The second item. |
Returns
| Type | Description |
|---|---|
| System.Boolean | Whether item1 and item2 satisfy the relationship that the BinaryPredicate defines. |
Type Parameters
| Name | Description |
|---|---|
| T |