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

IAspectDependencyAttributeParser.Parse Method (AspectDependencyAttribute, ModuleDeclaration)

Parses a dependency custom attribute, given as a constructed AspectDependencyAttribute, into an AspectDependency.

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

Parameters

attribute
Type: AspectDependencyAttribute
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: AspectDependency
An AspectDependency object representing attribute, expressed for the specified module.
See Also