PatternMatchAction<T>.

PatternMatchAction(IEnumerable<T>, Func<T, bool>, Action<T>) Constructor

Syntax

public PatternMatchAction(IEnumerable<T> values, Func<T, bool> pattern, Action<T> action)

Parameters

Name Type Description
values IEnumerable<T>
pattern Func<T, bool>
action Action<T>

Return Value

Type Description
void