System.Bindings.EvalProtocol.TCustomWrapperGetterCallback
Delphi
TCustomWrapperGetterCallback = reference to function (ParentObject: TObject;
const MemberName: String; Args: TArray<TValue>): TValue;
C++
__interface TCustomWrapperGetterCallback : public System::IInterface
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
anonMethod class |
public | System.Bindings.EvalProtocol.pas System.Bindings.EvalProtocol.hpp |
System.Bindings.EvalProtocol | System.Bindings.EvalProtocol |
Description
Callback used by the custom wrapper to determine the actual value of the fake object member that it wraps around.
TCustomWrapperGetterCallback is a callback used by the custom wrapper to determine the actual value of the fake object member that it wraps around. TCustomWrapperGetterCallback should be called with the parameters listed in the following table:
Parameter | Meaning |
ParentObject
|
The custom scope that has created the custom wrapper that uses this callback has been created in its turn on the object pointed by this property. |
MemberName
|
The name of the fake object member that is wrapped by the custom wrapper that uses this callback. |
Args
|
Arguments that are passed from the binding expression script to this routine to permit it to calculate the value of the wrapped fake object member. The fake object member must have the form of either an indexed property or of a method, so that parameters can be passed in by the evaluator. Fake normal properties have this parameter empty. |
TCustomWrapperGetterCallback returns the calculated value of the fake object member.