C# 클래스 LinFu.IoC.Interceptors.InterceptorAttributeLoader

The class responsible for loading interceptors marked with the InterceptsAttribute class.
상속: ITypeLoader
파일 보기 프로젝트 열기: philiplaureano/LinFu

공개 메소드들

메소드 설명
CanLoad ( Type inputType ) : bool

Determines whether or not a target type is an interceptor.

Load ( Type input ) : IEnumerable>

Loads an IInterceptor derived class into a particular IServiceContainer instance so that the current interceptor type can intercept calls made to services created from the given target container.

비공개 메소드들

메소드 설명
CreateProxyFrom ( IServiceRequestResult request, IInterceptor>.Func getInterceptor ) : object

Generates a proxy instance from an existing IServiceRequestResult instance.

InterceptorAttributeLoader ( ILoader loaderHost ) : System

Initializes the class with the given loaderHost.

메소드 상세

CanLoad() 공개 메소드

Determines whether or not a target type is an interceptor.
public CanLoad ( Type inputType ) : bool
inputType System.Type The target type currently being tested.
리턴 bool

Load() 공개 메소드

Loads an IInterceptor derived class into a particular IServiceContainer instance so that the current interceptor type can intercept calls made to services created from the given target container.
public Load ( Type input ) : IEnumerable>
input System.Type The interceptor type.
리턴 IEnumerable>