CSharpGeneratorDriver Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CSharpGeneratorDriver(ParseOptions, ImmutableArray<ISourceGenerator>, ImmutableArray<AdditionalText>)
- Source:
- CSharpGeneratorDriver.cs
public CSharpGeneratorDriver (Microsoft.CodeAnalysis.ParseOptions parseOptions, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator> generators, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AdditionalText> additionalTexts);
new Microsoft.CodeAnalysis.CSharp.CSharpGeneratorDriver : Microsoft.CodeAnalysis.ParseOptions * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator> * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AdditionalText> -> Microsoft.CodeAnalysis.CSharp.CSharpGeneratorDriver
Public Sub New (parseOptions As ParseOptions, generators As ImmutableArray(Of ISourceGenerator), additionalTexts As ImmutableArray(Of AdditionalText))
Parameters
- parseOptions
- ParseOptions
- generators
- ImmutableArray<ISourceGenerator>
- additionalTexts
- ImmutableArray<AdditionalText>
Applies to
CSharpGeneratorDriver(ParseOptions, ImmutableArray<ISourceGenerator>, AnalyzerConfigOptionsProvider, ImmutableArray<AdditionalText>)
- Source:
- CSharpGeneratorDriver.cs
public CSharpGeneratorDriver (Microsoft.CodeAnalysis.ParseOptions parseOptions, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator> generators, Microsoft.CodeAnalysis.Diagnostics.AnalyzerConfigOptionsProvider optionsProvider, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AdditionalText> additionalTexts);
new Microsoft.CodeAnalysis.CSharp.CSharpGeneratorDriver : Microsoft.CodeAnalysis.ParseOptions * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator> * Microsoft.CodeAnalysis.Diagnostics.AnalyzerConfigOptionsProvider * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AdditionalText> -> Microsoft.CodeAnalysis.CSharp.CSharpGeneratorDriver
Public Sub New (parseOptions As ParseOptions, generators As ImmutableArray(Of ISourceGenerator), optionsProvider As AnalyzerConfigOptionsProvider, additionalTexts As ImmutableArray(Of AdditionalText))
Parameters
- parseOptions
- ParseOptions
- generators
- ImmutableArray<ISourceGenerator>
- optionsProvider
- AnalyzerConfigOptionsProvider
- additionalTexts
- ImmutableArray<AdditionalText>
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.