KeyValuePairConverterTKey, TValue(ArgumentConverter, ArgumentConverter, String, Boolean) Constructor
Namespace: Ookii.CommandLine.ConversionAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
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.