Closure expander. Replace a "closure" with its value.
Closures are defined _here_ as accesses to fields or properties of a .
Inheritance Hierarchy
Object | ||
CompositeVisitor<(Of <(<'TResult>)>)>..::..VisitorBase | ||
ClosureExpander |
Assembly: Epic.Query.Linq
Declaration Syntax
C# |
public sealed class ClosureExpander : CompositeVisitor<(Of <(<'TResult>)>)>..::..VisitorBase, IVisitor<Expression, MemberExpression>, IVisitor<Expression>
Members
All Members | Constructors | Methods | |||
Member | Description | |
---|---|---|
ClosureExpander(CompositeVisitor<(Of <<'(Expression>)>>)) |
Initializes a new instance of the ClosureExpander class.
| |
AsVisitor<(Of <<'(TExpression>)>>)(TExpression) |
Return itself as a visitor for target if it is
a MemberExpression related to a field or property
of a ConstantExpression.
(Overrides CompositeVisitor<(Of <(<'TResult>)>)>..::..VisitorBase.AsVisitor<(Of <<'(TExpression>)>>)(TExpression).) | |
Visit(MemberExpression, IVisitContext) |
Return a ConstantExpression containing the value of target (or anything given from the composition, on exception).
|
See Also