Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.9.0.0 (1.9.3.9490)
Syntax
| C# |
|---|
public interface IPairFilter<T> |
| Visual Basic |
|---|
Public Interface IPairFilter(Of T) |
| Visual C++ |
|---|
generic<typename T> public interface class IPairFilter |
Type Parameters
- T
- The type of the items.
Remarks
A IPairFilter<(Of <(<'T>)>)> is usually used to remove item pairs, so that they are not processed. Filter(Pair<(Of <<'(T>)>>)) returns trueTruetruetrue (True in Visual Basic) if an item pair should be processed (item pair is accepted). Filter(Pair<(Of <<'(T>)>>)) returns falseFalsefalsefalse (False in Visual Basic) if an item pair should not be processed (item pair is rejected).
Notes to Implementors: The filter rules must be consistent. In most applications the order of the items in the pair should not matter. And Filter(Pair<(Of <<'(T>)>>)) should always return the same result for the same pair. If the filter rules are changed, the Changed event must be raised.