Kodama

ComponentContainerImpl.GetComponentEntry メソッド (Type)

[This is preliminary documentation and subject to change.]

指定されたインターフェイスを実装するコンポーネントの登録情報を取得する

public IComponentEntry GetComponentEntry(
   Type interfaceType
);

パラメータ

interfaceType
取得する実装コンポーネントのインターフェイス

戻り値

指定されたインターフェイスを実装するコンポーネントの登録情報

実装

IComponentContainer.GetComponentEntry

例外

例外の種類 条件
TooManyRegistrationException 指定されたインターフェイスを実装するコンポーネントが複数あった場合に発生する例外
ComponentNotFoundException 指定されたインターフェイスを実装するコンポーネントがなかった場合に発生する例外

参照

ComponentContainerImpl クラス | Kodama.DependencyInjection.Container 名前空間