AspectDependencyAttributeParser.Parse Method (IAnnotationValue, ModuleDeclaration) |
Parses an aspect dependency represented by an annotation (IAnnotationValue).
Namespace: PostSharp.Sdk.AspectWeaver
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public virtual AspectDependencyAttributeInfo Parse( IAnnotationValue attribute, ModuleDeclaration module )
Parameters
- attribute
- Type: PostSharp.Sdk.CodeModel.IAnnotationValue
The annotation (custom attribute) to be parsed. - module
- Type: PostSharp.Sdk.CodeModel.ModuleDeclaration
The ModuleDeclaration in which the condition should be expressed.
Return Value
Type: AspectDependencyAttributeInfohe AspectDependencyAttributeInfo corresponding to attribute.