Open sandboxFocus

Method Configure

Configure(Action<IInterceptorMethodBuilder>)

Adds a delegate that shapes the synthesized method for each call site. See Configure(Action<IInterceptorMethodBuilder>).

Declaration
IConfiguredTemplateInterception Configure(Action<IInterceptorMethodBuilder> configure)
Parameters
Type Name Description
Action<IInterceptorMethodBuilder> configure

The delegate. It runs after the delegates given by the previous calls.

Returns
Type Description
IConfiguredTemplateInterception
Exceptions
Type Condition
ArgumentNullException

configure is null.