C# 클래스 XInject.Containers.HashContainer

상속: Container
파일 보기 프로젝트 열기: radixeng/XInject 1 사용 예제들

공개 메소드들

메소드 설명
ContainsInstanceOfSingleton ( Type type ) : bool
CreateStackScope ( int scope_id, Type type, object constructor_args ) : void
DestroyStackScope ( int scope_id, Type type ) : void
InstanceFrom ( Type type ) : object
InstanceFrom ( Type type, object constructor_args ) : object
InstanceFromWithScope ( int scope_id, Type type, object constructor_args ) : object
IsSingleton ( Type abstractType ) : bool
IsStackScope ( Type abstractType ) : bool
Register ( Type abstractType, Type concreteType ) : void
RegisterSingletonInstance ( Type singleton, object instance ) : void
Resolve ( Type abstractType ) : Type

메소드 상세

ContainsInstanceOfSingleton() 공개 메소드

public ContainsInstanceOfSingleton ( Type type ) : bool
type System.Type
리턴 bool

CreateStackScope() 공개 메소드

public CreateStackScope ( int scope_id, Type type, object constructor_args ) : void
scope_id int
type System.Type
constructor_args object
리턴 void

DestroyStackScope() 공개 메소드

public DestroyStackScope ( int scope_id, Type type ) : void
scope_id int
type System.Type
리턴 void

InstanceFrom() 공개 메소드

public InstanceFrom ( Type type ) : object
type System.Type
리턴 object

InstanceFrom() 공개 메소드

public InstanceFrom ( Type type, object constructor_args ) : object
type System.Type
constructor_args object
리턴 object

InstanceFromWithScope() 공개 메소드

public InstanceFromWithScope ( int scope_id, Type type, object constructor_args ) : object
scope_id int
type System.Type
constructor_args object
리턴 object

IsSingleton() 공개 메소드

public IsSingleton ( Type abstractType ) : bool
abstractType System.Type
리턴 bool

IsStackScope() 공개 메소드

public IsStackScope ( Type abstractType ) : bool
abstractType System.Type
리턴 bool

Register() 공개 메소드

public Register ( Type abstractType, Type concreteType ) : void
abstractType System.Type
concreteType System.Type
리턴 void

RegisterSingletonInstance() 공개 메소드

public RegisterSingletonInstance ( Type singleton, object instance ) : void
singleton System.Type
instance object
리턴 void

Resolve() 공개 메소드

public Resolve ( Type abstractType ) : Type
abstractType System.Type
리턴 System.Type