Class MemberListBindingExpressionTree
Represents an expression tree containing a member list binding.
Inheritance
Inherited Members
Namespace: System.Linq.Expressions
Assembly: Nuqleon.Linq.CompilerServices.dll
Syntax
public sealed class MemberListBindingExpressionTree : MemberBindingExpressionTree, ITree<ExpressionTreeNode>, ITree, IEquatable<ExpressionTreeBase>, ITyped
Properties
MemberListBinding
Gets the member list binding contained in the expression tree.
Declaration
public MemberListBinding MemberListBinding { get; }
Property Value
Type | Description |
---|---|
System.Linq.Expressions.MemberListBinding |
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<ElementInitExpressionTree>)
Updates the member list binding expression tree with the given children, returning a new immutable tree.
Declaration
public MemberListBindingExpressionTree Update(IEnumerable<ElementInitExpressionTree> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<ElementInitExpressionTree> | children | Child nodes for the copy of the current node. |
Returns
Type | Description |
---|---|
MemberListBindingExpressionTree | New immutable tree based on the current node, but with the specified child nodes. |
Update(ElementInitExpressionTree[])
Updates the member list binding expression tree with the given children, returning a new immutable tree.
Declaration
public MemberListBindingExpressionTree Update(params ElementInitExpressionTree[] children)
Parameters
Type | Name | Description |
---|---|---|
ElementInitExpressionTree[] | children | Child nodes for the copy of the current node. |
Returns
Type | Description |
---|---|
MemberListBindingExpressionTree | New immutable tree based on the current node, but with the specified child nodes. |
UpdateCore(IEnumerable<ITree<ExpressionTreeNode>>)
Updates the member list binding 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. |