Expression Conversion (Int32 to Expression) |
Namespace:
Nova.CodeDOM
Assembly:
Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax public static implicit operator Expression (
int value
)
Parameters
- value
- Type: SystemInt32
The int to be converted.
Return Value
Type:
ExpressionA generated
Literal for the specified
int.
Remarks This allows ints to be passed directly to any method expecting
an
Expression type without having to do a
new Literal(value).
See Also