다음을 통해 공유


CSharpGeneratorDriver Constructors

Definition

Overloads

CSharpGeneratorDriver(ParseOptions, ImmutableArray<ISourceGenerator>, ImmutableArray<AdditionalText>)
CSharpGeneratorDriver(ParseOptions, ImmutableArray<ISourceGenerator>, AnalyzerConfigOptionsProvider, ImmutableArray<AdditionalText>)

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
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
additionalTexts
ImmutableArray<AdditionalText>

Applies to