Class ExpressionTreeWildcardFactory
(Infrastructure) Factory for wildcards used during expression tree matching.
Inheritance
System.Object
ExpressionTreeWildcardFactory
Implements
Namespace: System.Linq.CompilerServices
Assembly: Nuqleon.Linq.CompilerServices.dll
Syntax
public class ExpressionTreeWildcardFactory : Object, IWildcardFactory<ExpressionTreeBase>
Constructors
ExpressionTreeWildcardFactory()
Declaration
public ExpressionTreeWildcardFactory()
Methods
CreateWildcard(ParameterExpression)
Creates a new wildcard object for the given hole in a pattern.
Declaration
public ExpressionTreeBase CreateWildcard(ParameterExpression hole)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Linq.Expressions.ParameterExpression | hole | Parameter expression used for holes in a pattern, which will be matched by the wildcard. |
Returns
| Type | Description |
|---|---|
| ExpressionTreeBase | Wildcard for the given hole in a pattern. |