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 | The member info to convert. |
Returns
| Type | Description |
|---|---|
| IExpression | An IExpression if the conversion is possible; otherwise, |
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 | The parameter info to convert. |
Returns
| Type | Description |
|---|---|
| IExpression | An IExpression if the conversion is possible; otherwise, |