Delegate Selector.webMatchingFunction
Custom matching function, must return all matched elements and an indicator as to whether all elements matched (for the purpose of the custom match)
More than one custom matching method can be define, they will be chained based upon the return value.
Namespace: GenerallyPositive
Assembly: GPAL.dll
Syntax
public delegate int webMatchingFunction(List<GPALElement> foundElements, out List<GPALElement> matchedElements, out bool matchedAll, Selector selector);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.List<GPALElement> | foundElements | All elements found for the selector |
| System.Collections.Generic.List<GPALElement> | matchedElements | All matched elements (or all found) |
| System.Boolean | matchedAll | True if all found elements matched. |
| Selector | selector | The selector used for the found elements |
Returns
| Type | Description |
|---|---|
| System.Int32 | 0: not handled, try next handler |