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 (Aspect­Dependency­Attribute, Module­Declaration)

AspectDependencyAttributeParser.Parse Method (AspectDependencyAttribute, ModuleDeclaration)

Parses an aspect dependency represented by a constructed custom attribute (AspectDependencyAttribute).

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 AspectDependency Parse(
	AspectDependencyAttribute attribute,
	ModuleDeclaration module
)

Parameters

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

Return Value

Type: AspectDependency
he AspectDependencyAttributeInfo corresponding to attribute.

Implements

IAspectDependencyAttributeParser.Parse(AspectDependencyAttribute, ModuleDeclaration)
See Also