ConditionalDocumentControllerTModel(FuncTModel, Action, FuncTModel, UseDocument, IMVCANController) Constructor |
Namespace: Altaxo.Gui.CommonAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic 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