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