C# Class LinFu.AOP.Cecil.Extensions.FieldInterceptionExtensions

Represents an extension class that adds field interception support to a given type.
Mostrar archivo Open project: philiplaureano/LinFu

Public Methods

Method Description
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.

Private Methods

Method Description
GetFieldFilter ( bool>.Func fieldFilter ) : bool>.Func
GetMethodFilter ( ) : bool>.Func

Method Details

InterceptAllFields() public static method

Adds field interception support to the target type.
public static InterceptAllFields ( this targetType ) : void
targetType this The type that will be modified.
return void

InterceptAllInstanceFields() public static method

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.
return void

InterceptAllStaticFields() public static method

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.
return void

InterceptFields() public static method

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.
return void

InterceptFields() public static method

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.
return void