Click or drag to resize

ConditionalDocumentControllerTModel(FuncTModel, Action) Constructor

Initializes a new instance of the ConditionalDocumentControllerTModel class.

Namespace: Altaxo.Gui.Common
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public ConditionalDocumentController(
	Func<TModel> CreationAction,
	Action RemovalAction
)

Parameters

CreationAction  FuncTModel
The action that creates the model when it is enabled.
RemovalAction  Action
The action that removes the model when it is disabled.
See Also