IMutableComponentContainer.RegisterInstance メソッド (Type, Object)
[This is preliminary documentation and subject to change.]
コンポーネントを登録する
void RegisterInstance(
Type interfaceType,
object implementComponentInstance);
パラメータ
-
interfaceType
- 優先して割り当てるインターフェイス
-
implementComponentInstance
- 優先して割り当てるコンポーネントのインスタンス
解説
特定のインターフェイスに優先して割り当てるコンポーネントを指定します。
参照
IMutableComponentContainer インターフェイス | Kodama.DependencyInjection.Container 名前空間