C# Класс LinFu.AOP.Cecil.Extensions.FieldInterceptionExtensions

Represents an extension class that adds field interception support to a given type.
Показать файл Открыть проект

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

Метод Описание
InterceptAllFields ( this targetType ) : void

Adds field interception support to the target type.

InterceptAllInstanceFields ( this targetType ) : void

Adds field interception support intercepting all instance fields on the target type.

InterceptAllStaticFields ( this targetType ) : void

Adds field interception support intercepting all static fields on the target type.

InterceptFields ( this targetType, bool>.Func methodFilter, bool>.Func fieldFilter ) : void

Adds field interception support to the target type.

InterceptFields ( this targetType, ITypeFilter hostTypeFilter, IFieldFilter fieldFilter ) : void

Adds field interception support to the target type.

Приватные методы

Метод Описание
GetFieldFilter ( bool>.Func fieldFilter ) : bool>.Func
GetMethodFilter ( ) : bool>.Func

Описание методов

InterceptAllFields() публичный статический Метод

Adds field interception support to the target type.
public static InterceptAllFields ( this targetType ) : void
targetType this The type that will be modified.
Результат void

InterceptAllInstanceFields() публичный статический Метод

Adds field interception support intercepting all instance fields on the target type.
public static InterceptAllInstanceFields ( this targetType ) : void
targetType this The type that will be modified.
Результат void

InterceptAllStaticFields() публичный статический Метод

Adds field interception support intercepting all static fields on the target type.
public static InterceptAllStaticFields ( this targetType ) : void
targetType this The type that will be modified.
Результат void

InterceptFields() публичный статический Метод

Adds field interception support to the target type.
public static InterceptFields ( this targetType, bool>.Func methodFilter, bool>.Func fieldFilter ) : void
targetType this The type that will be modified.
methodFilter bool>.Func The filter that determines which methods on the target type will be modified to support field interception.
fieldFilter bool>.Func The filter that determines which fields should be intercepted.
Результат void

InterceptFields() публичный статический Метод

Adds field interception support to the target type.
public static InterceptFields ( this targetType, ITypeFilter hostTypeFilter, IFieldFilter fieldFilter ) : void
targetType this The type that will be modified.
hostTypeFilter ITypeFilter The filter that determines the host types to be modified.
fieldFilter IFieldFilter The field filter that determines the fields that will be intercepted.
Результат void