Click or drag to resize

LocalDecl Constructor (String, Expression, Expression)

Create a local variable declaration.

Namespace:  Nova.CodeDOM
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public LocalDecl(
	string name,
	Expression type,
	Expression initialization = null
)

Parameters

name
Type: SystemString
The name of the variable.
type
Type: Nova.CodeDOMExpression
The type of the variable
initialization (Optional)
Type: Nova.CodeDOMExpression
The initialization expression for the variable (optional).
See Also