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­Aspect­Dependency­Attribute­Parser(TAttribute, TImpl) Method

AspectWeaverPlugIn.BindAspectDependencyAttributeParser<TAttribute, TImpl> Method

Binds a dependency custom attribute type (Advice) to a parser (IAspectDependencyAttributeParser).

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 BindAspectDependencyAttributeParser<TAttribute, TImpl>()
where TAttribute : AspectDependencyAttribute
where TImpl : new(), IAspectDependencyAttributeParser

Type Parameters

TAttribute
Dependency custom attribute type (derived from Advice).
TImpl
The parser able to process dependencies of type TAttribute.
See Also