Expression Conversion (MethodBase to Expression) |
Namespace:
Nova.CodeDOM
Assembly:
Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax public static implicit operator Expression (
MethodBase methodBase
)
Parameters
- methodBase
- Type: System.ReflectionMethodBase
The MethodBase to be converted.
Return Value
Type:
ExpressionA generated
MethodRef to the specified
MethodBase.
Remarks This allows
MethodBases (
MethodInfos or
ConstructorInfos) to be passed directly
to any method expecting an
Expression type without having to create a reference first.
See Also