PostSharp SDK 6.7 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / Aspect­Weaver­Plug­In Class / Aspect­Weaver­Plug­In Methods / Aspect­Weaver­Plug­In.​Bind­Aspect­Weaver(TAspect, TImpl) Method

AspectWeaverPlugIn.BindAspectWeaver<TAspect, TImpl> Method

Binds an aspect interface (IAspect) to an AspectWeaver.

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.7.10.0 (6.7.10.0)
Syntax
C#
protected void BindAspectWeaver<TAspect, TImpl>()
where TAspect : IAspect
where TImpl : new(), AspectWeaver

Type Parameters

TAspect
Aspect interface (derived from IAspect).
TImpl
The AspectWeaver able to process aspects of type TAspect.
See Also