Skip to content

TMediatorDefs.AddDef

Adds a new mediator definition to the collection

Declaration

Source position: fpobserver.pp line 362

public 
function TMediatorDefs.AddDef : TMediatorDef;

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

Name Description
TMediatorManager.RegisterMediator Registers a new mediator class with the manager