Open sandboxFocus

Method AsExpression

AsExpression(MemberInfo)

Returns the IExpression representation of the given MemberInfo, when available, or null.

Declaration
public static IExpression? AsExpression(this MemberInfo memberInfo)
Parameters
Type Name Description
MemberInfo memberInfo
Returns
Type Description
IExpression

AsExpression(ParameterInfo)

Returns the IExpression representation of the given ParameterInfo, when available, or null.

Declaration
public static IExpression? AsExpression(this ParameterInfo parameterInfo)
Parameters
Type Name Description
ParameterInfo parameterInfo
Returns
Type Description
IExpression