Table of Contents

Method SelectMembers

Namespace
Bonsai
Assembly
Bonsai.Core.dll

SelectMembers(Expression, string)

Returns the set of member selector expressions specified by a composite selector string.

public static IEnumerable<Expression> SelectMembers(Expression expression, string selector)

Parameters

expression Expression

The object to which the members belong.

selector string

The comma-separated selector string used to extract multiple members.

Returns

IEnumerable<Expression>

A set of Expression instances representing the member variables accessed by the composite selector string.