Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
簡単な作業ですが、方向性を見つけることができませんでした。
MEF のオブジェクト作成をインターセプトし、オブジェクトの (キャッスル ダイナミック プロキシを使用して) プロキシを返し、次にオブジェクト自体を返します。それは可能ですか?
これを行う簡単な方法はありません。カスタム プログラミング モデルを作成することも、独自の Type オブジェクトに対して TypeCatalog を作成することもできます。