CommandLineConfiguration Konstruktor
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
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)
Parametrar
- symbols
- IReadOnlyCollection<Symbol>
- argumentDelimiters
- IReadOnlyCollection<Char>
- prefixes
- IReadOnlyCollection<String>
- enablePosixBundling
- Boolean
- enableDirectives
- Boolean
- validationMessages
- ValidationMessages
- responseFileHandling
- ResponseFileHandling
- middlewarePipeline
- IReadOnlyCollection<InvocationMiddleware>
- helpBuilderFactory
- Func<BindingContext,IHelpBuilder>