Sdílet prostřednictvím


GeneratorExtensions Class

Definition

public static class GeneratorExtensions
type GeneratorExtensions = class
Public Module GeneratorExtensions
Inheritance
GeneratorExtensions

Methods

AsIncrementalGenerator(ISourceGenerator)

Converts an ISourceGenerator into an IIncrementalGenerator

AsSourceGenerator(IIncrementalGenerator)

Converts an IIncrementalGenerator into an ISourceGenerator object that can be used when constructing a GeneratorDriver

GetGeneratorType(IIncrementalGenerator)

Returns the underlying type of a given generator

GetGeneratorType(ISourceGenerator)

Returns the underlying type of a given generator

Applies to