C# 클래스 LinFu.Proxy.Interfaces.FunctorAsInterceptor

A class that converts a functor into an IInterceptor instance.
상속: IInterceptor
파일 보기 프로젝트 열기: philiplaureano/LinFu 1 사용 예제들

공개 메소드들

메소드 설명
FunctorAsInterceptor ( object>.Func intercept ) : System

Initializes the class with the given functor.

Intercept ( IInvocationInfo info ) : object

A method that redirects the method calls to the functor instance.

메소드 상세

FunctorAsInterceptor() 공개 메소드

Initializes the class with the given functor.
public FunctorAsInterceptor ( object>.Func intercept ) : System
intercept object>.Func The functor that will be invoked every time a method is called on the proxy type.
리턴 System

Intercept() 공개 메소드

A method that redirects the method calls to the functor instance.
public Intercept ( IInvocationInfo info ) : object
info IInvocationInfo The instance that describes the context of the method call.
리턴 object