Syntax
public DiscriminatedPatternMatch<T, TResult1, TResult2, TResult3, TResult4, TResult5> With(Func<T, bool> pattern, TResult2 resultValue)
Parameters
Name | Type | Description |
---|---|---|
pattern | Func |
|
resultValue | TResult2 |
public DiscriminatedPatternMatch<T, TResult1, TResult2, TResult3, TResult4, TResult5> With(Func<T, bool> pattern, TResult2 resultValue)
Name | Type | Description |
---|---|---|
pattern | Func |
|
resultValue | TResult2 |