PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / Advice­Analyzer Class / Advice­Analyzer Methods / Advice­Analyzer.​Initialize Method / Advice­Analyzer.​Initialize Method (Module­Declaration)

AdviceAnalyzer.Initialize Method (ModuleDeclaration)

Initializes the current AdviceAnalyzer. Implementations of this method must call Initialize(ModuleDeclaration, IMethod, SerializationType). They typically populate the dictionary MethodExecutionLookups.

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public abstract void Initialize(
	ModuleDeclaration module
)

Parameters

module
Type: PostSharp.Sdk.CodeModel.ModuleDeclaration
Module in which advices have to be initialized.

Implements

IAdviceAnalyzer.Initialize(ModuleDeclaration)
See Also