Click or drag to resize

CodeUnit Constructor (String, Project, String)

Create a new CodeUnit with the specified file name and parent Project.

Namespace:  Nova.CodeDOM
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public CodeUnit(
	string fileName,
	Project project,
	string defaultEncoding = null
)

Parameters

fileName
Type: SystemString
The file name (and path).
project
Type: Nova.CodeDOMProject
The parent project.
defaultEncoding (Optional)
Type: SystemString
Default encoding (defaults to UTF8 if null).
See Also