IncrementalGeneratorInitializationContext 结构

定义

调用时 Initialize(IncrementalGeneratorInitializationContext) 传递给增量生成器的上下文

public readonly struct IncrementalGeneratorInitializationContext
type IncrementalGeneratorInitializationContext = struct
Public Structure IncrementalGeneratorInitializationContext
继承
IncrementalGeneratorInitializationContext

属性

AdditionalTextsProvider

调用时 Initialize(IncrementalGeneratorInitializationContext) 传递给增量生成器的上下文

AnalyzerConfigOptionsProvider

调用时 Initialize(IncrementalGeneratorInitializationContext) 传递给增量生成器的上下文

CompilationProvider

调用时 Initialize(IncrementalGeneratorInitializationContext) 传递给增量生成器的上下文

MetadataReferencesProvider

调用时 Initialize(IncrementalGeneratorInitializationContext) 传递给增量生成器的上下文

ParseOptionsProvider

调用时 Initialize(IncrementalGeneratorInitializationContext) 传递给增量生成器的上下文

SyntaxProvider

调用时 Initialize(IncrementalGeneratorInitializationContext) 传递给增量生成器的上下文

方法

RegisterImplementationSourceOutput<TSource>(IncrementalValueProvider<TSource>, Action<SourceProductionContext,TSource>)

调用时 Initialize(IncrementalGeneratorInitializationContext) 传递给增量生成器的上下文

RegisterImplementationSourceOutput<TSource>(IncrementalValuesProvider<TSource>, Action<SourceProductionContext,TSource>)

调用时 Initialize(IncrementalGeneratorInitializationContext) 传递给增量生成器的上下文

RegisterPostInitializationOutput(Action<IncrementalGeneratorPostInitializationContext>)

调用时 Initialize(IncrementalGeneratorInitializationContext) 传递给增量生成器的上下文

RegisterSourceOutput<TSource>(IncrementalValueProvider<TSource>, Action<SourceProductionContext,TSource>)

调用时 Initialize(IncrementalGeneratorInitializationContext) 传递给增量生成器的上下文

RegisterSourceOutput<TSource>(IncrementalValuesProvider<TSource>, Action<SourceProductionContext,TSource>)

调用时 Initialize(IncrementalGeneratorInitializationContext) 传递给增量生成器的上下文

适用于