Click or drag to resize

IGuiFactoryServiceGetController(Object, Type, Type, UseDocument) Method

Gets a controller for the specified arguments while overriding the type of the first argument.

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

Parameters

creationArgs  Object
The controller creation arguments.
overrideArg0Type  Type
The override type for the first argument.
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