Delen via


IncrementalGeneratorInitializationContext Struct

Definition

Context passed to an incremental generator when Initialize(IncrementalGeneratorInitializationContext) is called

public readonly struct IncrementalGeneratorInitializationContext
type IncrementalGeneratorInitializationContext = struct
Public Structure IncrementalGeneratorInitializationContext
Inheritance
IncrementalGeneratorInitializationContext

Properties

AdditionalTextsProvider
AnalyzerConfigOptionsProvider
CompilationProvider
MetadataReferencesProvider
ParseOptionsProvider
SyntaxProvider

Methods

RegisterImplementationSourceOutput<TSource>(IncrementalValueProvider<TSource>, Action<SourceProductionContext,TSource>)
RegisterImplementationSourceOutput<TSource>(IncrementalValuesProvider<TSource>, Action<SourceProductionContext,TSource>)
RegisterPostInitializationOutput(Action<IncrementalGeneratorPostInitializationContext>)
RegisterSourceOutput<TSource>(IncrementalValueProvider<TSource>, Action<SourceProductionContext,TSource>)
RegisterSourceOutput<TSource>(IncrementalValuesProvider<TSource>, Action<SourceProductionContext,TSource>)

Applies to