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

Represents an adapter class that maps INewInstanceFilter instances to functors.
상속: INewInstanceFilter
파일 보기 프로젝트 열기: philiplaureano/LinFu

공개 메소드들

메소드 설명
NewInstanceInterceptionAdapter ( Func filter ) : System

Initializes a new instance of the NewInstanceInterceptionAdapter class.

ShouldWeave ( MethodReference currentConstructor, TypeReference concreteType, MethodReference hostMethod ) : bool

Determines whether or not a particular constructor call should be intercepted by the postweaver.

메소드 상세

NewInstanceInterceptionAdapter() 공개 메소드

Initializes a new instance of the NewInstanceInterceptionAdapter class.
public NewInstanceInterceptionAdapter ( Func filter ) : System
filter Func The filter that determines which instances will be intercepted.
리턴 System

ShouldWeave() 공개 메소드

Determines whether or not a particular constructor call should be intercepted by the postweaver.
public ShouldWeave ( MethodReference currentConstructor, TypeReference concreteType, MethodReference hostMethod ) : bool
currentConstructor Mono.Cecil.MethodReference The constructor used to instantiate the current instance.
concreteType Mono.Cecil.TypeReference The concrete type that contains the new instance call.
hostMethod Mono.Cecil.MethodReference The host method that contains the new operator call.
리턴 bool