Sdílet prostřednictvím


DiagnosticAnalyzer.Initialize(AnalysisContext) Method

Definition

Called once at session start to register actions in the analysis context.

public:
 abstract void Initialize(Microsoft::CodeAnalysis::Diagnostics::AnalysisContext ^ context);
public abstract void Initialize (Microsoft.CodeAnalysis.Diagnostics.AnalysisContext context);
abstract member Initialize : Microsoft.CodeAnalysis.Diagnostics.AnalysisContext -> unit
Public MustOverride Sub Initialize (context As AnalysisContext)

Parameters

context
AnalysisContext

Applies to