ProjectContextReadFile Method

Read and parse the specified JSON file, returning a resulting project file.

Definition

Namespace: ProjectTask
Assembly: ProjectTask (in ProjectTask.dll) Version: 25.2814.3647
C#
public static ProjectContext ReadFile(
	string filename,
	Action<string> messageHandler = null
)

Parameters

filename  String
The fully qualified path and filename of the file to read.
messageHandler  ActionString  (Optional)
Optional reference to a message handler delegate appointed to receive messages from this function, in the form of 'static void CallbackName(string message);'.

Return Value

ProjectContext
Reference to the object-based representation of the specified file, if legitimate. Otherwise, null.

See Also