PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / Aspect­Dependency­Attribute­Parser Class / Aspect­Dependency­Attribute­Parser Methods / Aspect­Dependency­Attribute­Parser.​Parse Method / Aspect­Dependency­Attribute­Parser.​Parse Method (IAnnotation­Value, Module­Declaration)

AspectDependencyAttributeParser.Parse Method (IAnnotationValue, ModuleDeclaration)

Parses an aspect dependency represented by an annotation (IAnnotationValue).

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public virtual AspectDependencyAttributeInfo Parse(
	IAnnotationValue attribute,
	ModuleDeclaration module
)

Parameters

attribute
Type: PostSharp.Sdk.CodeModel.IAnnotationValue
The annotation (custom attribute) to be parsed.
module
Type: PostSharp.Sdk.CodeModel.ModuleDeclaration
The ModuleDeclaration in which the condition should be expressed.

Return Value

Type: AspectDependencyAttributeInfo
he AspectDependencyAttributeInfo corresponding to attribute.

Implements

IAspectDependencyAttributeParser.Parse(IAnnotationValue, ModuleDeclaration)
See Also