Kodama

IMutableComponentContainer.RegisterInstance メソッド (Type, Object, String)

[This is preliminary documentation and subject to change.]

コンポーネントを登録する

void RegisterInstance(
   Type interfaceType,
   object implementComponentInstance,
   string componentName
);

パラメータ

interfaceType
優先して割り当てるインターフェイス
implementComponentInstance
優先して割り当てるコンポーネントのインスタンス
componentName
優先して割り当てるコンポーネントの名前

解説

特定のインターフェイスに優先して割り当てるコンポーネントを指定します。

参照

IMutableComponentContainer インターフェイス | Kodama.DependencyInjection.Container 名前空間