Kodama

AspectTargetAttribute.GetPropertiesForNewContext メソッド 

[This is preliminary documentation and subject to change.]

新しいコンテキスト作成時にプロパティを設定するときに呼ばれる。 使者シンクではインスタンスの生成はフックできないため、ここで AspectのWaveを行っている。

public override void GetPropertiesForNewContext(
   IConstructionCallMessage constructionCallMessage
);

パラメータ

constructionCallMessage
コンストラクタ呼び出しIConstructionCallMessage

実装

IContextAttribute.GetPropertiesForNewContext

参照

AspectTargetAttribute クラス | Kodama.Aop.Weaver 名前空間