VisualBasicGeneratorDriver.Create Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
Create(ImmutableArray<ISourceGenerator>, ImmutableArray<AdditionalText>, VisualBasicParseOptions, AnalyzerConfigOptionsProvider)
public static Microsoft.CodeAnalysis.VisualBasic.VisualBasicGeneratorDriver Create (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator> generators, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AdditionalText> additionalTexts = default, Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions parseOptions = default, Microsoft.CodeAnalysis.Diagnostics.AnalyzerConfigOptionsProvider analyzerConfigOptionsProvider = default);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public static Microsoft.CodeAnalysis.VisualBasic.VisualBasicGeneratorDriver Create (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator> generators, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AdditionalText> additionalTexts, Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions parseOptions, Microsoft.CodeAnalysis.Diagnostics.AnalyzerConfigOptionsProvider analyzerConfigOptionsProvider);
static member Create : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator> * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AdditionalText> * Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions * Microsoft.CodeAnalysis.Diagnostics.AnalyzerConfigOptionsProvider -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicGeneratorDriver
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
static member Create : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator> * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AdditionalText> * Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions * Microsoft.CodeAnalysis.Diagnostics.AnalyzerConfigOptionsProvider -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicGeneratorDriver
Public Shared Function Create (generators As ImmutableArray(Of ISourceGenerator), Optional additionalTexts As ImmutableArray(Of AdditionalText) = Nothing, Optional parseOptions As VisualBasicParseOptions = Nothing, Optional analyzerConfigOptionsProvider As AnalyzerConfigOptionsProvider = Nothing) As VisualBasicGeneratorDriver
Public Shared Function Create (generators As ImmutableArray(Of ISourceGenerator), additionalTexts As ImmutableArray(Of AdditionalText), parseOptions As VisualBasicParseOptions, analyzerConfigOptionsProvider As AnalyzerConfigOptionsProvider) As VisualBasicGeneratorDriver
Parâmetros
- generators
- ImmutableArray<ISourceGenerator>
- additionalTexts
- ImmutableArray<AdditionalText>
- parseOptions
- VisualBasicParseOptions
- analyzerConfigOptionsProvider
- AnalyzerConfigOptionsProvider
Retornos
- Atributos
Aplica-se a
Create(ImmutableArray<ISourceGenerator>, ImmutableArray<AdditionalText>, VisualBasicParseOptions, AnalyzerConfigOptionsProvider, GeneratorDriverOptions)
public static Microsoft.CodeAnalysis.VisualBasic.VisualBasicGeneratorDriver Create (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator> generators, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AdditionalText> additionalTexts = default, Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions parseOptions = default, Microsoft.CodeAnalysis.Diagnostics.AnalyzerConfigOptionsProvider analyzerConfigOptionsProvider = default, Microsoft.CodeAnalysis.GeneratorDriverOptions driverOptions = default);
static member Create : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator> * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AdditionalText> * Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions * Microsoft.CodeAnalysis.Diagnostics.AnalyzerConfigOptionsProvider * Microsoft.CodeAnalysis.GeneratorDriverOptions -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicGeneratorDriver
Public Shared Function Create (generators As ImmutableArray(Of ISourceGenerator), Optional additionalTexts As ImmutableArray(Of AdditionalText) = Nothing, Optional parseOptions As VisualBasicParseOptions = Nothing, Optional analyzerConfigOptionsProvider As AnalyzerConfigOptionsProvider = Nothing, Optional driverOptions As GeneratorDriverOptions = Nothing) As VisualBasicGeneratorDriver
Parâmetros
- generators
- ImmutableArray<ISourceGenerator>
- additionalTexts
- ImmutableArray<AdditionalText>
- parseOptions
- VisualBasicParseOptions
- analyzerConfigOptionsProvider
- AnalyzerConfigOptionsProvider
- driverOptions
- GeneratorDriverOptions
Retornos
Aplica-se a
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.