Delegate MatchBuilder.CaseStatement
Represents constructor of the action to be executed if value
matches to the pattern defined by MatchBuilder.Pattern.
Namespace: DotNext.Metaprogramming
Assembly: DotNext.Metaprogramming.dll
Syntax
public delegate Expression CaseStatement(ParameterExpression value);
Parameters
| Type | Name | Description |
|---|---|---|
| ParameterExpression | value | The value participating in pattern match. |
Returns
| Type | Description |
|---|---|
| Expression | The action to be executed if object matches to the pattern. |