Class MemberAssignmentExpressionTree
Represents an expression tree containing a member assignment.
Inheritance
Inherited Members
Namespace: System.Linq.Expressions
Assembly: Nuqleon.Linq.CompilerServices.dll
Syntax
public sealed class MemberAssignmentExpressionTree : MemberBindingExpressionTree, ITree<ExpressionTreeNode>, ITree, IEquatable<ExpressionTreeBase>, ITyped
Properties
MemberAssignment
Gets the member assignment contained in the expression tree.
Declaration
public MemberAssignment MemberAssignment { get; }
Property Value
Type | Description |
---|---|
System.Linq.Expressions.MemberAssignment |
Methods
ToStringFormat()
Gets a format string with placeholders for the children. To be used with String.Format.
Declaration
public override string ToStringFormat()
Returns
Type | Description |
---|---|
System.String | Format string that can be used to retrieve a string representation of the current node by supplying string representations of child nodes. |
Overrides
Update(IEnumerable<ExpressionTree>)
Updates the member assignment expression tree with the given children, returning a new immutable tree.
Declaration
public MemberAssignmentExpressionTree Update(IEnumerable<ExpressionTree> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<ExpressionTree> | children | Child nodes for the copy of the current node. |
Returns
Type | Description |
---|---|
MemberAssignmentExpressionTree | New immutable tree based on the current node, but with the specified child nodes. |
Update(ExpressionTree[])
Updates the member assignment expression tree with the given children, returning a new immutable tree.
Declaration
public MemberAssignmentExpressionTree Update(params ExpressionTree[] children)
Parameters
Type | Name | Description |
---|---|---|
ExpressionTree[] | children | Child nodes for the copy of the current node. |
Returns
Type | Description |
---|---|
MemberAssignmentExpressionTree | New immutable tree based on the current node, but with the specified child nodes. |
UpdateCore(IEnumerable<ITree<ExpressionTreeNode>>)
Updates the member assignment expression tree with the given children, returning a new immutable tree.
Declaration
protected override ITree<ExpressionTreeNode> UpdateCore(IEnumerable<ITree<ExpressionTreeNode>> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<ITree<ExpressionTreeNode>> | children | Child nodes for the copy of the current node. |
Returns
Type | Description |
---|---|
ITree<ExpressionTreeNode> | New immutable tree based on the current node, but with the specified child nodes. |