Declaration
public static Generex<T> CreateGenerex<T>(
this T[] input,
Predicate<T> predicate
)Summary
Instantiates a regular expression that matches a single element that satisfies the given predicate (cf.
[...] in traditional regular expression syntax).
Generic type parameters
| T |
Type of objects that the regular expression will later match against. |
Parameters
| this T[] | input |
The value of this parameter is ignored, but can be used for type inference to enable matching of collections
of anonymous types. |
| Predicate<T> | predicate |
The predicate that identifies matching elements. |
See also