C# 클래스 OpenRasta.DI.Unity.Extensions.TypeTracker

Adds queries regarding the currently registered type to the Unity DI container. This extension must be installed in any instance of IUnityContainer you want to use with OpenRasta.
Named components are entirely ignored by this extension.
상속: Microsoft.Practices.Unity.UnityContainerExtension
파일 보기 프로젝트 열기: openrasta/openrasta-unity

Private Properties

프로퍼티 타입 설명
AddMapping void

공개 메소드들

메소드 설명
GetAllConcreteTypes ( Type serviceType ) : IEnumerable

Find all the possible implementations of the given type.

HasDependency ( Type serviceType ) : bool

Do we know of any implementations for the given type at all?

HasDependencyImplementation ( Type serviceType, Type concreteType ) : bool

Do we know of a specific implementation of the given type?

보호된 메소드들

메소드 설명
Initialize ( ) : void

비공개 메소드들

메소드 설명
AddMapping ( string name, Type typeFrom, Type typeTo ) : void

메소드 상세

GetAllConcreteTypes() 공개 메소드

Find all the possible implementations of the given type.
public GetAllConcreteTypes ( Type serviceType ) : IEnumerable
serviceType System.Type
리턴 IEnumerable

HasDependency() 공개 메소드

Do we know of any implementations for the given type at all?
public HasDependency ( Type serviceType ) : bool
serviceType System.Type
리턴 bool

HasDependencyImplementation() 공개 메소드

Do we know of a specific implementation of the given type?
public HasDependencyImplementation ( Type serviceType, Type concreteType ) : bool
serviceType System.Type
concreteType System.Type
리턴 bool

Initialize() 보호된 메소드

protected Initialize ( ) : void
리턴 void