Share via


Expression.Accessor(String, Expression) Method

Definition

Construct and validate a property accessor.

public static AdaptiveExpressions.Expression Accessor (string property, AdaptiveExpressions.Expression instance = default);
static member Accessor : string * AdaptiveExpressions.Expression -> AdaptiveExpressions.Expression
Public Shared Function Accessor (property As String, Optional instance As Expression = Nothing) As Expression

Parameters

property
String

Property to lookup.

instance
Expression

Expression to get instance that contains property or null for global state.

Returns

New expression.

Applies to