Click or drag to resize

GUIFactoryServiceGetController(Object, Type) Method

Gets an IMVCController for a given document type.

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

Parameters

args  Object
The argument list. The first element args[0] is the document for which the controller is searched. The following elements are optional, and are usually the parents of this document.
expectedControllerType  Type
Type of controller that you expect to return.

Return Value

IMVCController
The controller for that document when found. The controller is already initialized with the document. If not found, null is returned.

Implements

IGuiFactoryServiceGetController(Object, Type)
See Also