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

IAspectDependencyAttributeParser.Parse Method (IAnnotationValue, ModuleDeclaration)

Parses a dependency custom attribute, given as an IAnnotationValue, into am AspectDependencyAttributeInfo.

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

Parameters

attribute
Type: PostSharp.Sdk.CodeModel.IAnnotationValue
The custom attribute to be parsed.
module
Type: PostSharp.Sdk.CodeModel.ModuleDeclaration
The module in which the aspect dependency should be expressed.

Return Value

Type: AspectDependencyAttributeInfo
An AspectDependencyAttributeInfo object representing attribute, expressed for the specified module.
See Also