ProjectContext Class

Complete application context information about an entire set of projects, tasks, resources, and schedules.

Definition

Namespace: ProjectTask
Assembly: ProjectTask (in ProjectTask.dll) Version: 25.2814.3647
C#
public class ProjectContext
Inheritance
Object    ProjectContext

Constructors

ProjectContext Create a new instance of the ProjectContext item.

Properties

Comments Get a reference to the collection of comments found in this file.
Contacts Get a reference to the contacts in this file.
DefaultItemStatus Get/Set a reference to the default item status for new tasks.
DefaultItemType Get/Set a reference to the default item type for new tasks.
Dependencies Get a reference to the collection of dependency tasks in this file.
FreeBusyConnectors Get a reference to the collection of free/busy connectors for this file.
Organizations Get a reference to the all of the organizations in the file.
Tasks Get a reference to the tasks collection.
TaskStates Get a reference to the collection of defined task states.
TaskTypes Get a reference to the collection of task type definitions.
TimeBlocks Get a reference to the collection of defined schedule time blocks.
TimeNotations Get a reference to the collection of time notations defined for this file.
Timers Get a reference to the collection of timers.

Methods

Clear Clear the entire contents of the project context.
ClearEmptyReferences Clear the empty references on objects, setting them to null or removing them from collections.
Clone Create a deep copy of the provided project file.
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
Pack Pack the contents of the project file object model to a string and return that string to the caller.
Parse Parse the JSON formatted project file, returning a fully populated project file object model.
ReadFile Read and parse the specified JSON file, returning a resulting project file.
ToString
(Inherited from Object)
WriteFile Write the contents of the provided file object model to the specified file.

See Also