VisualBasicGeneratorDriver.Create Method
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
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
Parameters
- generators
- ImmutableArray<ISourceGenerator>
- additionalTexts
- ImmutableArray<AdditionalText>
- parseOptions
- VisualBasicParseOptions
- analyzerConfigOptionsProvider
- AnalyzerConfigOptionsProvider
Returns
- Attributes
Applies to
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
Parameters
- generators
- ImmutableArray<ISourceGenerator>
- additionalTexts
- ImmutableArray<AdditionalText>
- parseOptions
- VisualBasicParseOptions
- analyzerConfigOptionsProvider
- AnalyzerConfigOptionsProvider
- driverOptions
- GeneratorDriverOptions
Returns
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET