TMediatorDef.Handles function
Determines if this definition can handle the given subject/GUI combination
Declaration
function Handles(ASubject: TObject; AGui: TComponent;
APropInfo: PPropInfo): BooleanArguments
ASubject | Subject object to check compatibility for |
AGui | GUI component to check compatibility for |
APropInfo | Property information for property-specific mediators |
Function result
True if this definition handles the parameters
Description
The Handles method evaluates whether this mediator definition can handle the specified combination of
subject object, GUI component, and property information. It checks class compatibility and property requirements.
This method is used by the mediator manager during the selection process to filter potentially suitable mediators.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
