C# Class System.Linq.Expressions.ElementInit

Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
ElementInit ( MethodInfo addMethod, ReadOnlyCollection arguments ) : System.Collections.Generic

Method Details

GetArgument() public méthode

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

ToString() public méthode

Creates a String representation of the node.
public ToString ( ) : string
Résultat string

Update() public méthode

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.
Résultat ElementInit