PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / Aspect­Weaver­Plug­In Class / Aspect­Weaver­Plug­In Methods / Aspect­Weaver­Plug­In.​Bind­Pointcut­Engine(TAttribute, TImpl) Method

AspectWeaverPlugIn.BindPointcutEngine<TAttribute, TImpl> Method

Binds a pointcut custom attribute type (Pointcut) to a pointcut engine (IPointcutEngine).

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
protected void BindPointcutEngine<TAttribute, TImpl>()
where TAttribute : Pointcut
where TImpl : new(), IPointcutEngine

Type Parameters

TAttribute
Pointcut custom attribute type (derived from Pointcut).
TImpl
The pointcut engine able to process pointcuts of type TAttribute.
See Also