Compares this definition against another for best match selection
Source position: fpobserver.pp line 348
public function TMediatorDef.BetterMatch( |
M: TMediatorDef |
):Boolean; |
M |
|
Other mediator definition to compare against |
True if this definition is a better match
The BetterMatch method compares this definition against another to determine which provides a better match for a given scenario. It considers property name specificity, class hierarchies, and mediator types.
This comparison logic ensures that the most specific and appropriate mediator is selected when multiple mediators could handle the same situation.
|
Finds the best mediator definition for given parameters |