C# Class System.Linq.Expressions.ElementInit

Mostra file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
GetArgument ( int index ) : Expression

Gets the argument expression with the specified index.

ToString ( ) : string

Creates a String representation of the node.

Update ( IEnumerable arguments ) : ElementInit

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.

Private Methods

Method Description
ElementInit ( MethodInfo addMethod, ReadOnlyCollection arguments ) : System.Collections.Generic

Method Details

GetArgument() public method

Gets the argument expression with the specified index.
public GetArgument ( int index ) : Expression
index int The index of the argument expression to get.
return Expression

ToString() public method

Creates a String representation of the node.
public ToString ( ) : string
return string

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 arguments ) : ElementInit
arguments IEnumerable The property of the result.
return ElementInit