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