![]() |
ExtraInk 2.1
이야기 게임을 더 쉽게 만들수 있도록
|
Constructor Injection 기반의 DI 컨테이너 구현 의존성 주입과 자동 해결을 제공합니다 More...


Public Member Functions | |
| void | RegisterSingleton< TInterface, TImplementation > () |
| 싱글톤 서비스를 등록합니다 | |
| void | RegisterSingleton< TInterface > (TInterface instance) |
| 싱글톤 서비스를 인스턴스로 등록합니다 | |
| void | RegisterSingleton< TInterface > (Func< IDIContainer, TInterface > factory) |
| 팩토리 함수를 사용하여 싱글톤 서비스를 등록합니다 | |
| void | RegisterTransient< TInterface, TImplementation > () |
| 트랜지언트 서비스를 등록합니다 | |
| void | RegisterTransient< TInterface > (Func< IDIContainer, TInterface > factory) |
| 팩토리 함수를 사용하여 트랜지언트 서비스를 등록합니다 | |
| T | Resolve< T > () |
| 서비스를 해결(resolve)합니다 | |
| object | Resolve (Type serviceType) |
| 서비스를 해결(resolve)합니다 | |
| bool | IsRegistered< T > () |
| 서비스가 등록되어 있는지 확인합니다 | |
| bool | IsRegistered (Type serviceType) |
| 서비스가 등록되어 있는지 확인합니다 | |
| void | Unregister< T > () |
| 서비스 등록을 해제합니다 | |
| void | Clear () |
| 모든 서비스를 정리합니다 | |
| Type[] | GetRegisteredTypes () |
| 등록된 서비스 목록을 가져옵니다 | |
Constructor Injection 기반의 DI 컨테이너 구현 의존성 주입과 자동 해결을 제공합니다
| void DIContainer.Clear | ( | ) |
모든 서비스를 정리합니다
Implements IDIContainer.
| Type[] DIContainer.GetRegisteredTypes | ( | ) |
등록된 서비스 목록을 가져옵니다
Implements IDIContainer.
| bool DIContainer.IsRegistered | ( | Type | serviceType | ) |
| bool DIContainer.IsRegistered< T > | ( | ) |
서비스가 등록되어 있는지 확인합니다
Implements IDIContainer.
| T | : | class |

| void DIContainer.RegisterSingleton< TInterface > | ( | Func< IDIContainer, TInterface > | factory | ) |
| void DIContainer.RegisterSingleton< TInterface > | ( | TInterface | instance | ) |
| void DIContainer.RegisterSingleton< TInterface, TImplementation > | ( | ) |
싱글톤 서비스를 등록합니다
Implements IDIContainer.
| TInterface | : | class | |
| TImplementation | : | class | |
| TImplementation | : | TInterface |
| void DIContainer.RegisterTransient< TInterface > | ( | Func< IDIContainer, TInterface > | factory | ) |
| void DIContainer.RegisterTransient< TInterface, TImplementation > | ( | ) |
트랜지언트 서비스를 등록합니다
Implements IDIContainer.
| TInterface | : | class | |
| TImplementation | : | class | |
| TImplementation | : | TInterface |
| object DIContainer.Resolve | ( | Type | serviceType | ) |
| T DIContainer.Resolve< T > | ( | ) |
서비스를 해결(resolve)합니다
Implements IDIContainer.
| T | : | class |

| void DIContainer.Unregister< T > | ( | ) |