Click or drag to resize

ProjectServiceBaseSetCurrentProject Method

Sets the current project instance, and set it's file name to null. No events raised (events should be raised by the caller). The old project instance will be disposed of.

Namespace: Altaxo.Dom
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
protected void SetCurrentProject(
	IProject? project,
	bool asUnnamedProject
)

Parameters

project  IProject
The new project to be set. The file name of this project will be null (thus the project is considered unnamed).
asUnnamedProject  Boolean
If true, the current CurrentProjectArchiveManager is replaced by a dummy project archive manager that represents an unnamed project.
See Also