System.Rtti.TVirtualMethodInterceptor.DoAfter
Delphi
procedure DoAfter(Instance: TObject; Method: TRttiMethod; const Args: TArray<TValue>; var Result: TValue);
C++
void __fastcall DoAfter(System::TObject* Instance, TRttiMethod* Method, const System::DynamicArray<TValue> Args, TValue &Result);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
protected | System.Rtti.pas System.Rtti.hpp |
System.Rtti | TVirtualMethodInterceptor |
説明
OnAfter イベントを呼び出します。
DoAfter は、OnAfter イベントに対応する、protected 仮想メソッドです。TVirtualMethodInterceptor から継承している場合、OnAfter イベントにサブスクライブするより、このメソッドをオーバーライドする方が、派生クラスのユーザーもまた、同じイベントにサブスクライブを望むかもしれないため、理にかなっているでしょう。