Sign in Join
FPDoc Onlineexperiment

TMediatorDefs.AddDef function

Member of TMediatorDefspublicIn unit fpObserver

Adds a new mediator definition to the collection

Declaration

pascal
function AddDef: TMediatorDef

Function result

Newly created mediator definition

Description

The AddDef method creates a new mediator definition and adds it to the collection. The returned definition can then be configured with the appropriate mediator class, subject class, and property requirements.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.