ToExpression(MemberInfo)
Returns the IExpression representation of the given MemberInfo, when available, or throws an exception.
Declaration
public static IExpression ToExpression(this MemberInfo memberInfo)Parameters
| Type | Name | Description |
|---|---|---|
| MemberInfo | memberInfo |
Returns
| Type | Description |
|---|---|
| IExpression |
ToExpression(ParameterInfo)
Returns the IExpression representation of the given ParameterInfo, when available, or throws an exception.
Declaration
public static IExpression ToExpression(this ParameterInfo parameterInfo)Parameters
| Type | Name | Description |
|---|---|---|
| ParameterInfo | parameterInfo |
Returns
| Type | Description |
|---|---|
| IExpression |