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