Click or drag to resize

Expression  Conversion (Namespace to Expression)

Implicit conversion of a Namespace to an Expression (actually, a NamespaceRef).

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

Parameters

namespace
Type: Nova.CodeDOMNamespace
The Namespace to be converted.

Return Value

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