Sign in Join
FPDoc Onlineexperiment

TBaseMediator.CompositeMediator function

Member of TBaseMediatorpublicIn unit fpObserver

Indicates whether this is a composite mediator

Declaration

pascal
class function CompositeMediator: Boolean; virtual

Function result

True if composite mediator, False otherwise

Description

The CompositeMediator class method returns False for base mediators, indicating they handle single property mediation. List mediators and other composite mediators override this to return True.

This information is used by the mediator manager when automatically selecting appropriate mediators for different scenarios.

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