System.TAggregatedObject.Controller
Delphi
property Controller: IInterface read GetController;
C++
__property _di_IInterface Controller = {read=GetController};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | System.pas systobj.h |
System | TAggregatedObject |
Description
Provides access to the controlling interface of the aggregate.
Controller is the interface reference of the aggregate. TAggregatedObject is used as part of an aggregate that has a single controlling IInterface. The IInterface methods that are implemented in aggregated objects are delegated to the Controller.
When the aggregated object is created, its constructor is passed a controlling IInterface. Controller is initialized to this IInterface in the constructor.