A registration whose calls are redirected to a method synthesized from a template, after the first call of
Configure(Action<IInterceptorMethodBuilder>). It is a complete interception, which the delegate given to InterceptMethods can return.
It is the counterpart of IConfiguredTemplateInterception for a result that applies to every call site.
Namespace: Metalama.Extensions.Interceptors
Assembly: Metalama.Extensions.Interceptors.dll
Syntax
[CompileTime]
[InternalImplement]
public interface IConfiguredTemplateRegistration : IMethodInterceptionRemarks
The other methods of ITemplateRegistration must be called before Configure(Action<IInterceptorMethodBuilder>), because they determine the signature that the engine derives and that the IInterceptorMethodBuilder exposes to the delegates. This interface therefore only allows further calls of Configure(Action<IInterceptorMethodBuilder>).
Methods
| Name | Description |
|---|---|
| Configure(Action<IInterceptorMethodBuilder>) | Adds a delegate that shapes the synthesized method for each call site. See Configure(Action<IInterceptorMethodBuilder>). |