GUIFactoryServiceGetController(Object, Type, UseDocument) Method |
Namespace: Altaxo.Main.ServicesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public IMVCController? GetController(
Object[] args,
Type expectedControllerType,
UseDocument copyDocument
)
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.
- copyDocument UseDocument
- Determines whether to work directly with the document or use a copy.
Return Value
IMVCControllerThe controller for that document when found. The controller is already initialized with the document. If not found, null is returned.
Implements
IGuiFactoryServiceGetController(Object, Type, UseDocument)See Also