Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: TGenerexWithResult process<TGenerexWithResult, TGenerexWithResultMatch, TResult>(Func<TGenerexMatch, TResult>)

Declaration

internal TGenerexWithResult process<TGenerexWithResult, TGenerexWithResultMatch, TResult>(
    Func<TGenerexMatch, TResult> selector
)

Summary

Processes each match of this regular expression by running it through a provided selector.

Generic type parameters

TGenerexWithResult
  • Must derive from: RT.Generexes.GenerexWithResultBase<T, TResult, TGenerexWithResult, TGenerexWithResultMatch>.
Generex type to return (for example, Generex<T, TResult>).
TGenerexWithResultMatch Generex match type that corresponds to TGenerexWithResult
TResult Type of the object returned by selector, which is a result object associated with each match of the regular expression.

Parameters

Func<TGenerexMatch, TResult>selector Function to process a regular expression match.