CommandLineConfiguration Konstruktor
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
public CommandLineConfiguration(System.Collections.Generic.IReadOnlyCollection<System.CommandLine.Symbol> symbols, System.Collections.Generic.IReadOnlyCollection<char> argumentDelimiters = default, System.Collections.Generic.IReadOnlyCollection<string> prefixes = default, bool enablePosixBundling = true, bool enableDirectives = true, System.CommandLine.ValidationMessages validationMessages = default, System.CommandLine.ResponseFileHandling responseFileHandling = System.CommandLine.ResponseFileHandling.ParseArgsAsLineSeparated, System.Collections.Generic.IReadOnlyCollection<System.CommandLine.Invocation.InvocationMiddleware> middlewarePipeline = default, Func<System.CommandLine.Binding.BindingContext,System.CommandLine.IHelpBuilder> helpBuilderFactory = default);
new System.CommandLine.CommandLineConfiguration : System.Collections.Generic.IReadOnlyCollection<System.CommandLine.Symbol> * System.Collections.Generic.IReadOnlyCollection<char> * System.Collections.Generic.IReadOnlyCollection<string> * bool * bool * System.CommandLine.ValidationMessages * System.CommandLine.ResponseFileHandling * System.Collections.Generic.IReadOnlyCollection<System.CommandLine.Invocation.InvocationMiddleware> * Func<System.CommandLine.Binding.BindingContext, System.CommandLine.IHelpBuilder> -> System.CommandLine.CommandLineConfiguration
Public Sub New (symbols As IReadOnlyCollection(Of Symbol), Optional argumentDelimiters As IReadOnlyCollection(Of Char) = Nothing, Optional prefixes As IReadOnlyCollection(Of String) = Nothing, Optional enablePosixBundling As Boolean = true, Optional enableDirectives As Boolean = true, Optional validationMessages As ValidationMessages = Nothing, Optional responseFileHandling As ResponseFileHandling = System.CommandLine.ResponseFileHandling.ParseArgsAsLineSeparated, Optional middlewarePipeline As IReadOnlyCollection(Of InvocationMiddleware) = Nothing, Optional helpBuilderFactory As Func(Of BindingContext, IHelpBuilder) = Nothing)
Parameter
- symbols
- IReadOnlyCollection<Symbol>
- argumentDelimiters
- IReadOnlyCollection<Char>
- prefixes
- IReadOnlyCollection<String>
- enablePosixBundling
- Boolean
- enableDirectives
- Boolean
- validationMessages
- ValidationMessages
- responseFileHandling
- ResponseFileHandling
- middlewarePipeline
- IReadOnlyCollection<InvocationMiddleware>
- helpBuilderFactory
- Func<BindingContext,IHelpBuilder>