Click or drag to resize

ConditionalDocumentControllerTModel(FuncTModel, Action, FuncTModel, UseDocument, IMVCANController) 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,
	Func<TModel, UseDocument, IMVCANController?> ControllerCreationAction
)

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.
ControllerCreationAction  FuncTModel, UseDocument, IMVCANController
The action that creates a controller for the model.
See Also