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

Represents an extension class that adds support for intercepting exceptions thrown at runtime.
Mostrar archivo Open project: philiplaureano/LinFu

Public Methods

Method Description
InterceptAllExceptions ( this visitable ) : void

Enables exception interception on the given type.

InterceptExceptions ( this visitable, bool>.Func methodFilter ) : void

Enables exception interception on the given type.

InterceptExceptions ( this visitable, IMethodFilter methodFilter ) : void

Enables exception interception on the given type.

Private Methods

Method Description
GetMethodFilter ( ) : bool>.Func

Method Details

InterceptAllExceptions() public static method

Enables exception interception on the given type.
public static InterceptAllExceptions ( this visitable ) : void
visitable this The target type.
return void

InterceptExceptions() public static method

Enables exception interception on the given type.
public static InterceptExceptions ( this visitable, bool>.Func methodFilter ) : void
visitable this The target type.
methodFilter bool>.Func The method filter functor that will determine which methods should support exception interception.
return void

InterceptExceptions() public static method

Enables exception interception on the given type.
public static InterceptExceptions ( this visitable, IMethodFilter methodFilter ) : void
visitable this The target type.
methodFilter IMethodFilter The instance that will determine which methods should support exception interception.
return void