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