C# 클래스 NProxy.Core.Interceptors.InterceptorInvocationHandler

상속: IInvocationHandler
파일 보기 프로젝트 열기: mtamme/NProxy 1 사용 예제들

공개 메소드들

메소드 설명
ApplyInterceptors ( IProxyTemplate proxyTemplate, IEnumerable interceptors ) : void

Applies all interceptors for the specified proxy template.

InterceptorInvocationHandler ( IInterceptor defaultInterceptors ) : System

Initializes a new instance of the InterceptorInvocationHandler class.

Invoke ( object target, MethodInfo methodInfo, object parameters ) : object

비공개 메소드들

메소드 설명
ApplyInterceptionBehaviors ( MemberInfo memberInfo, IEnumerable interceptors ) : List

Applies the interception behaviors for the specified member.

ApplyInterceptors ( EventInfo eventInfo, IEnumerable interceptors ) : void

Applies all interceptors for the specified event.

ApplyInterceptors ( MemberInfo memberInfo, IEnumerable interceptors ) : void

Applies all interceptors for the specified member.

ApplyInterceptors ( PropertyInfo propertyInfo, IEnumerable interceptors ) : void

Applies all interceptors for the specified property.

GetInterceptors ( MemberInfo memberInfo ) : IInterceptor[]

Returns all interceptors for the specified member.

메소드 상세

ApplyInterceptors() 공개 메소드

Applies all interceptors for the specified proxy template.
public ApplyInterceptors ( IProxyTemplate proxyTemplate, IEnumerable interceptors ) : void
proxyTemplate IProxyTemplate The proxy template.
interceptors IEnumerable The interceptors.
리턴 void

InterceptorInvocationHandler() 공개 메소드

Initializes a new instance of the InterceptorInvocationHandler class.
public InterceptorInvocationHandler ( IInterceptor defaultInterceptors ) : System
defaultInterceptors IInterceptor The default interceptors.
리턴 System

Invoke() 공개 메소드

public Invoke ( object target, MethodInfo methodInfo, object parameters ) : object
target object
methodInfo System.Reflection.MethodInfo
parameters object
리턴 object