IAspectDependencyAttributeParser.Parse Method (IAnnotationValue, ModuleDeclaration) |
Parses a dependency custom attribute, given as an IAnnotationValue, into am AspectDependencyAttributeInfo.
Namespace: PostSharp.Sdk.AspectWeaver
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
AspectDependencyAttributeInfo Parse( IAnnotationValue attribute, ModuleDeclaration module )
Parameters
- attribute
- Type: PostSharp.Sdk.CodeModel.IAnnotationValue
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: AspectDependencyAttributeInfoAn AspectDependencyAttributeInfo object representing attribute, expressed for the specified module.