Click or drag to resize

IGuiFactoryServiceGetController(Object, Type, UseDocument) Method

Gets a controller for the specified arguments and document usage mode.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
IMVCController? GetController(
	Object[] args,
	Type expectedControllerType,
	UseDocument copyDocument
)

Parameters

args  Object
The controller creation arguments.
expectedControllerType  Type
The expected controller type.
copyDocument  UseDocument
Specifies how the document should be used.

Return Value

IMVCController
The controller, or if no suitable controller was found.
See Also