RuntimeVariablesExpression Classe
Definição
Uma expressão que fornece permissões de leitura/gravação em runtime para variáveis.An expression that provides runtime read/write permission for variables.
public ref class RuntimeVariablesExpression sealed : System::Linq::Expressions::Expression
public sealed class RuntimeVariablesExpression : System.Linq.Expressions.Expression
type RuntimeVariablesExpression = class
inherit Expression
Public NotInheritable Class RuntimeVariablesExpression
Inherits Expression
- Herança
Comentários
Esse tipo é necessário para implementar "eval" em linguagens dinâmicas.This type is necessary for implementing "eval" in dynamic languages. Ele é avaliado como uma instância do IList<T> em tempo de execução.It evaluates to an instance of IList<T> at run time.
Propriedades
| CanReduce |
Indica que o nó pode ser reduzido a um nó mais simples.Indicates that the node can be reduced to a simpler node. Se isso retornar verdadeiro, Reduce() poderá ser chamado para produzir a forma reduzida.If this returns true, Reduce() can be called to produce the reduced form. (Herdado de Expression) |
| NodeType |
Retorna o tipo de nó dessa Expressão.Returns the node type of this Expression. Nós de extensão devem retornar Extension ao substituírem esse método.Extension nodes should return Extension when overriding this method. |
| Type |
Obtém o tipo estático da expressão que esse Expression representa.Gets the static type of the expression that this Expression represents. |
| Variables |
As variáveis ou parâmetros aos quais fornecer acesso de runtime.The variables or parameters to which to provide runtime access. |
Métodos
| Accept(ExpressionVisitor) |
Expede o método específico de visita para esse tipo de nó.Dispatches to the specific visit method for this node type. Por exemplo, MethodCallExpression chama o VisitMethodCall(MethodCallExpression).For example, MethodCallExpression calls the VisitMethodCall(MethodCallExpression). (Herdado de Expression) |
| Equals(Object) |
Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object. (Herdado de Object) |
| GetHashCode() |
Serve como a função de hash padrão.Serves as the default hash function. (Herdado de Object) |
| GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
| MemberwiseClone() |
Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object. (Herdado de Object) |
| Reduce() |
Reduz esse nó a uma expressão mais simples.Reduces this node to a simpler expression. Se CanReduce retornar true, ele deverá retornar uma expressão válida.If CanReduce returns true, this should return a valid expression. Esse método pode retornar outro nó que também precisa ser reduzido.This method can return another node which itself must be reduced. (Herdado de Expression) |
| ReduceAndCheck() |
Reduz esse nó a uma expressão mais simples.Reduces this node to a simpler expression. Se CanReduce retornar true, ele deverá retornar uma expressão válida.If CanReduce returns true, this should return a valid expression. Esse método pode retornar outro nó que também precisa ser reduzido.This method can return another node which itself must be reduced. (Herdado de Expression) |
| ReduceExtensions() |
Reduz a expressão a um tipo de nó conhecido (que não é um nó de extensão) ou apenas retorna a expressão se ele já é um tipo conhecido.Reduces the expression to a known node type (that is not an Extension node) or just returns the expression if it is already a known type. (Herdado de Expression) |
| ToString() |
Retorna uma representação textual de Expression.Returns a textual representation of the Expression. (Herdado de Expression) |
| Update(IEnumerable<ParameterExpression>) |
Cria uma nova expressão que é parecida com esta, mas usando os filhos fornecidos.Creates a new expression that is like this one, but using the supplied children. Se todos os filhos forem os mesmos, ela retornará esta expressão.If all of the children are the same, it will return this expression. |
| VisitChildren(ExpressionVisitor) |
Reduz o nó e, em seguida, chama o delegado visitante na expressão reduzida.Reduces the node and then calls the visitor delegate on the reduced expression. O método gera uma exceção se o nó não é reduzível.The method throws an exception if the node is not reducible. (Herdado de Expression) |