Click or drag to resize

Expression  Conversion (Int64 to Expression)

Implicit conversion of a long to an Expression (actually, a Literal).

Namespace:  Nova.CodeDOM
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public static implicit operator Expression (
	long value
)

Parameters

value
Type: SystemInt64
The long to be converted.

Return Value

Type: Expression
A generated Literal for the specified long.
Remarks
This allows longs to be passed directly to any method expecting an Expression type without having to do a new Literal(value).
See Also