Click or drag to resize

CSharpParser Constructor (String, Boolean, String)

Creates an instance of CSharpParser.

Namespace:  CSScriptLib
Assembly:  CSScriptLib (in CSScriptLib.dll) Version: 1.3.2.0
Syntax
C#
public CSharpParser(
	string script,
	bool isFile,
	string[] directivesToSearch
)

Parameters

script
Type: SystemString
C# script (code or file).
isFile
Type: SystemBoolean
If set to 'true' the script is a file, otherwise it is a C# code.
directivesToSearch
Type: SystemString
Additional C# script directives to search. The search result is stored in CSharpParser.CustomDirectives.
See Also