Method MemberAccess
- Namespace
- Bonsai
- Assembly
- Bonsai.Core.dll
MemberAccess(Expression, string)
Creates an Expression representing a chained access to a member variable.
public static Expression MemberAccess(Expression instance, string memberPath)
Parameters
instance
ExpressionThe object to which the member chain belongs.
memberPath
stringThe path to an inner member variable, separated by a dot. Indexed accessors are also allowed.
Returns
- Expression
The created Expression.