Class ExpressionExpressionTreeNode
Represents an expression tree node containing an expression.
Namespace: System.Linq.Expressions
Assembly: Nuqleon.Linq.CompilerServices.dll
Syntax
public sealed class ExpressionExpressionTreeNode : ExpressionTreeNode, IEquatable<ExpressionTreeNode>, IEquatable<ExpressionExpressionTreeNode>
Constructors
ExpressionExpressionTreeNode(Expression)
Creates an expression tree node containing an expression.
Declaration
public ExpressionExpressionTreeNode(Expression expression)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression | expression | Expression contained in the expression tree. |
Properties
Expression
Gets the expression contained in the expression tree.
Declaration
public Expression Expression { get; }
Property Value
Type | Description |
---|---|
System.Linq.Expressions.Expression |
Methods
Equals(ExpressionExpressionTreeNode)
Checks whether the current node is equal to the specified expression tree node. Equality for expression tree nodes is based on structural properties of the trees.
Declaration
public bool Equals(ExpressionExpressionTreeNode other)
Parameters
Type | Name | Description |
---|---|---|
ExpressionExpressionTreeNode | other | Expression tree node to compare to. |
Returns
Type | Description |
---|---|
System.Boolean | true if both nodes are equal; otherwise, false. |
Equals(Object)
Checks whether the current node is equal to the specified object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Object to compare to. |
Returns
Type | Description |
---|---|
System.Boolean | true if the current instance and the specified object are equal; otherwise, false. |
Overrides
EqualsCore(ExpressionTreeNode)
Checks whether the current node is equal to the specified expression tree node. Equality for expression tree nodes is based on structural properties of the trees.
Declaration
protected override bool EqualsCore(ExpressionTreeNode other)
Parameters
Type | Name | Description |
---|---|---|
ExpressionTreeNode | other | Expression tree node to compare to. |
Returns
Type | Description |
---|---|
System.Boolean | true if both nodes are equal; otherwise, false. |
Overrides
GetHashCode()
Gets a hash code representation of the current expression tree node instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code representation of the current expression tree node instance. |
Overrides
ToString()
Gets a string representation of the current expression tree node instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String representation of the current expression tree node instance. |