KeyValuePairConverterTKey, TValue(ArgumentConverter, ArgumentConverter, String, Boolean) Constructor
Namespace: Ookii.CommandLine.ConversionAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
public KeyValuePairConverter(
ArgumentConverter keyConverter,
ArgumentConverter valueConverter,
string? separator,
bool allowNullValues
)
Public Sub New (
keyConverter As ArgumentConverter,
valueConverter As ArgumentConverter,
separator As String,
allowNullValues As Boolean
)
Dim keyConverter As ArgumentConverter
Dim valueConverter As ArgumentConverter
Dim separator As String
Dim allowNullValues As Boolean
Dim instance As New KeyValuePairConverter(keyConverter,
valueConverter, separator, allowNullValues)
public:
KeyValuePairConverter(
ArgumentConverter^ keyConverter,
ArgumentConverter^ valueConverter,
String^ separator,
bool allowNullValues
)
Parameters
- keyConverter ArgumentConverter
-
The ArgumentConverter used to convert the key/value pair's keys.
- valueConverter ArgumentConverter
-
The ArgumentConverter used to convert the key/value pair's values.
- separator String
-
An optional custom key/value separator. If , the value
of KeyValuePairConverterDefaultSeparator is used.
- allowNullValues Boolean
-
Indicates whether the type of the pair's value accepts values.