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­Condition Method

AspectDependencyAttributeParser.ParseCondition Method

Parses the AspectDependencyCondition represented by an aspect dependency custom attribute.

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 abstract AspectDependencyCondition ParseCondition(
	AspectDependencyAttribute attribute,
	ModuleDeclaration module
)

Parameters

attribute
Type: AspectDependencyAttribute
An aspect dependency custom attribute.
module
Type: PostSharp.Sdk.CodeModel.ModuleDeclaration
The ModuleDeclaration in which the condition should be expressed.

Return Value

Type: AspectDependencyCondition
The AspectDependencyCondition corresponding to attribute.
See Also