C# 클래스 LinFu.AOP.Cecil.MethodCallFilterAdapter

Represents a type that converts functors into method call filter instances.
상속: IMethodCallFilter
파일 보기 프로젝트 열기: philiplaureano/LinFu

공개 메소드들

메소드 설명
MethodCallFilterAdapter ( bool>.Func hostMethodFilter, bool>.Func methodCallFilter ) : System

Initializes a new instance of the MethodCallFilterAdapter class.

ShouldWeave ( TypeReference targetType, MethodReference hostMethod, MethodReference currentMethodCall ) : bool

Determines whether or not a particular method call should be intercepted.

메소드 상세

MethodCallFilterAdapter() 공개 메소드

Initializes a new instance of the MethodCallFilterAdapter class.
public MethodCallFilterAdapter ( bool>.Func hostMethodFilter, bool>.Func methodCallFilter ) : System
hostMethodFilter bool>.Func The method filter that will determine the host methods that will be modified for interception.
methodCallFilter bool>.Func The method filter that will determine which method calls will be intercepted.
리턴 System

ShouldWeave() 공개 메소드

Determines whether or not a particular method call should be intercepted.
public ShouldWeave ( TypeReference targetType, MethodReference hostMethod, MethodReference currentMethodCall ) : bool
targetType Mono.Cecil.TypeReference The host type that contains the method call.
hostMethod Mono.Cecil.MethodReference The method that contains the current method call.
currentMethodCall Mono.Cecil.MethodReference The method call to be intercepted.
리턴 bool