共用方式為


IIncrementalGenerator.Initialize Method

Definition

Called to initialize the generator and register generation steps via callbacks on the context

public void Initialize (Microsoft.CodeAnalysis.IncrementalGeneratorInitializationContext context);
abstract member Initialize : Microsoft.CodeAnalysis.IncrementalGeneratorInitializationContext -> unit
Public Sub Initialize (context As IncrementalGeneratorInitializationContext)

Parameters

Applies to