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

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

Méthodes publiques

Méthode 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

Méthode Description
GetFieldFilter ( bool>.Func fieldFilter ) : bool>.Func
GetMethodFilter ( ) : bool>.Func

Method Details

InterceptAllFields() public static méthode

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

InterceptAllInstanceFields() public static méthode

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.
Résultat void

InterceptAllStaticFields() public static méthode

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.
Résultat void

InterceptFields() public static méthode

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.
Résultat void

InterceptFields() public static méthode

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.
Résultat void