PatternMatchAction<T>.

With(Func<T, bool>, Action<T>) Method

Syntax

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

Parameters

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

Return Value

Type Description
PatternMatchAction<T>