Open sandboxFocus

Interface IExistingMethodInterception

A method interception whose calls are redirected to an existing method, created by RedirectToExistingMethod(IMethod). It is a complete interception, which the delegate given to InterceptMethods or to ForEachSite(Func<IMethodInterceptionSite, IMethodInterception>) can return.

Namespace: Metalama.Extensions.Interceptors
Assembly: Metalama.Extensions.Interceptors.dll
Syntax
[CompileTime]
[InternalImplement]
public interface IExistingMethodInterception : IMethodInterception

Methods

Name Description
WithArgs(object)

Sets the arguments that bind parameters and type parameters of the existing method by name.

Extension Methods