C# Класс LinFu.AOP.Cecil.MethodCallFilterAdapter

Represents a type that converts functors into method call filter instances.
Наследование: IMethodCallFilter
Показать файл Открыть проект

Открытые методы

Метод Описание
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