CommandLineConfiguration Constructor
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.
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)
Parameters
- symbols
- IReadOnlyCollection<Symbol>
- argumentDelimiters
- IReadOnlyCollection<Char>
- prefixes
- IReadOnlyCollection<String>
- enablePosixBundling
- Boolean
- enableDirectives
- Boolean
- validationMessages
- ValidationMessages
- responseFileHandling
- ResponseFileHandling
- middlewarePipeline
- IReadOnlyCollection<InvocationMiddleware>
- helpBuilderFactory
- Func<BindingContext,IHelpBuilder>