Click or drag to resize

Expression  Conversion (EventInfo to Expression)

Implicit conversion of a EventInfo to an Expression (actually, a EventRef).

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

Parameters

eventInfo
Type: System.ReflectionEventInfo
The EventInfo to be converted.

Return Value

Type: Expression
A generated EventRef to the specified EventInfo.
Remarks
This allows EventInfos to be passed directly to any method expecting an Expression type without having to create a reference first.
See Also