Delen via


GeneratorExtensions Class

Definition

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

Methods

AsSourceGenerator(IIncrementalGenerator)

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

GetGeneratorType(ISourceGenerator)

Returns the underlying type of a given generator

Applies to