Interface IWildcardFactory<TSource>
Represents a factory for wildcard objects used to match any subtree of a given type.
Namespace: System.Linq.CompilerServices
Assembly: Nuqleon.Linq.CompilerServices.dll
Syntax
public interface IWildcardFactory<TSource>
Type Parameters
Name | Description |
---|---|
TSource | Type of the wildcard objects. |
Methods
CreateWildcard(ParameterExpression)
Creates a new wildcard object for the given hole in a pattern.
Declaration
TSource 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 |
---|---|
TSource | Wildcard for the given hole in a pattern. |