C# Class System.Linq.Expressions.RuntimeVariablesExpression

An expression that provides runtime read/write access to variables. Needed to implement "eval" in dynamic languages. Evaluates to an instance of ILocalVariables at run time.
Inheritance: Expression
显示文件 Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
Update ( IEnumerable variables ) : RuntimeVariablesExpression

Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression.

Protected Methods

Method Description
Accept ( ExpressionVisitor visitor ) : Expression

Dispatches to the specific visit method for this node type.

Private Methods

Method Description
RuntimeVariablesExpression ( ReadOnlyCollection variables ) : System.Collections.Generic

Method Details

Accept() protected method

Dispatches to the specific visit method for this node type.
protected Accept ( ExpressionVisitor visitor ) : Expression
visitor ExpressionVisitor
return Expression

Update() public method

Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression.
public Update ( IEnumerable variables ) : RuntimeVariablesExpression
variables IEnumerable The property of the result.
return RuntimeVariablesExpression