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­Advice­Analyzer­Factory(TAttribute, TImpl) Method

AspectWeaverPlugIn.BindAdviceAnalyzerFactory<TAttribute, TImpl> Method

Binds a dependency custom attribute type (RequiresAdviceAnalysisAttribute) to an analyzer (IAdviceAnalyzer).

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 BindAdviceAnalyzerFactory<TAttribute, TImpl>()
where TAttribute : RequiresAdviceAnalysisAttribute
where TImpl : new(), IAdviceAnalyzer

Type Parameters

TAttribute
Dependency custom attribute type (derived from RequiresAdviceAnalysisAttribute).
TImpl
The analyzer able to process attributes of type TAttribute.
See Also