Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: Generex<T> New<T>(Predicate<T>)

Declaration

public static Generex<T> New<T>(
    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 the objects in the collection against which the regular expression will be matched.

Parameters

Predicate<T>predicate Predicate that determines whether an element matches.