Kodama

IComponentEntry.Discard メソッド 

[This is preliminary documentation and subject to change.]

コンポーネントのインスタンスを破棄する

void Discard();

解説

破棄するコンポーネントはIDisposableを実装していること。

参照

IComponentEntry インターフェイス | Kodama.DependencyInjection.Component 名前空間