다음을 통해 공유


GeneratorExtensions.AsIncrementalGenerator(ISourceGenerator) Method

Definition

public static Microsoft.CodeAnalysis.IIncrementalGenerator AsIncrementalGenerator (this Microsoft.CodeAnalysis.ISourceGenerator sourceGenerator);
static member AsIncrementalGenerator : Microsoft.CodeAnalysis.ISourceGenerator -> Microsoft.CodeAnalysis.IIncrementalGenerator
<Extension()>
Public Function AsIncrementalGenerator (sourceGenerator As ISourceGenerator) As IIncrementalGenerator

Parameters

sourceGenerator
ISourceGenerator

The source generator to convert

Returns

An incremental generator

Applies to