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: 2023.0.3.0 (2023.0.3.0)
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: AspectDependencyConditionThe AspectDependencyCondition corresponding to attribute.