Kodama

IMutableComponentContainer.Register メソッド (Type, Type, String)

[This is preliminary documentation and subject to change.]

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

void Register(
   Type interfaceType,
   Type implementComponentType,
   string componentName
);

パラメータ

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

解説

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

参照

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